/// <summary> /// Initializes a new instance of an exception without an error message /// </summary> /// <param name="error">The error code.</param> public SWFModellerException(SWFModellerError error, SWFContext ctx) : base(error.ToString() + "; " + ctx.ToString()) { this.Error = error; this.Sentinel = ctx.ToString(); }
/// Initializes a new instance of an exception with an error message /// </summary> /// <param name="error">The error code.</param> /// <param name="msg">The error message</param> public SWFModellerException(SWFModellerError error, string msg) : base(error.ToString() + "; " + msg) { this.Error = error; this.Sentinel = string.Empty; }