Beispiel #1
0
 public ShopException(TypeOfException Massage)
 {
     this.Massage = Massage;
 }
 public MoodAnalyserException(TypeOfException type, string message) : base(message)
 {
     this.type = type;
 }
 /// <summary>
 ///  /// Initializes a new instance of the <see cref="CustomException"/> class
 /// </summary>
 /// <param name="typeOfException">Input type of exception</param>
 public CustomException(TypeOfException typeOfException)
 {
     this.typeOfException = typeOfException;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CustomException"/> class.
 /// </summary>
 /// <param name="message">The message.</param>
 /// <param name="type">The type.</param>
 public CustomException(string message, TypeOfException type)
 {
     this.message = message;
     this.type    = type;
 }
Beispiel #5
0
 public CustomException(TypeOfException typeOfException, string message)
 {
     this.typeOfException = typeOfException;
     this.message         = message;
 }