Пример #1
0
 /// <summary>
 /// Initializes a new instance of an exception without an error message
 /// </summary>
 /// <param name="error">The error code.</param>
 /// <param name="ctx">A context object that describes what was being done when the exception occured.</param>
 public SWF2HTMLException(SWF2HTMLError error)
     : base(error.ToString())
 {
     this.Error = error;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of an exception without an error message
 /// </summary>
 /// <param name="error">The error code.</param>
 /// <param name="ctx">A context object that describes what was being done when the exception occured.</param>
 public SWF2HTMLException(SWF2HTMLError error)
     : base(error.ToString())
 {
     this.Error = error;
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of an exception with an error message
 /// </summary>
 /// <param name="error">The error code.</param>
 /// <param name="ctx">A context object that describes what was being done when the exception occured.</param>
 /// <param name="msg">The error message</param>
 public SWF2HTMLException(SWF2HTMLError error, string msg)
     : base(error.ToString() + "; " + msg)
 {
     this.Error = error;
 }
Пример #4
0
 /// <summary>
 /// Initializes a new instance of an exception with an error message
 /// </summary>
 /// <param name="error">The error code.</param>
 /// <param name="ctx">A context object that describes what was being done when the exception occured.</param>
 /// <param name="msg">The error message</param>
 public SWF2HTMLException(SWF2HTMLError error, string msg)
     : base(error.ToString() + "; " + msg)
 {
     this.Error = error;
 }