/// <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();
 }
Ejemplo n.º 2
0
 /// <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;
 }
Ejemplo n.º 4
0
 /// 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;
 }