Esempio n. 1
0
 public VerifyVersionException(ExCode e, Action updateAction = null) : base()
 {
     this.Ex           = e;
     this.UpdateAction = updateAction;
 }
Esempio n. 2
0
 public PresenterException(ExCode e, string msg = "") : base(msg)
 {
     this.Ex = e;
 }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the LineException class to handle exceptions for working with a line.
 /// </summary>
 /// <param name="msg">A string that describes that error.</param>
 /// <param name="ex">The exception that is cause current exception. If the innerException parameter is not, the current exception is raised in a catch block that handles the inner exception.</param>
 /// <param name="code">Exception code.</param>
 public LineException(string msg, Exception ex, ExCode code)
     : this(msg, ex)
 {
     Code = code;
 }