Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AppException"/> class.
 /// </summary>
 /// <param name="type">The type.</param>
 /// <param name="serializationInfo">The serialization information.</param>
 /// <param name="streamingContext">The streaming context.</param>
 public AppException(AppExceptionTypes type, SerializationInfo serializationInfo, StreamingContext streamingContext) : base(serializationInfo, streamingContext)
 {
     this.Type = type;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AppException"/> class.
 /// </summary>
 /// <param name="type">The type.</param>
 /// <param name="message">The message.</param>
 public AppException(AppExceptionTypes type, string message) : base(message)
 {
     this.Type = type;
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AppException"/> class.
 /// </summary>
 /// <param name="type">The type.</param>
 /// <param name="message">The message.</param>
 /// <param name="innerException">The inner exception.</param>
 public AppException(AppExceptionTypes type, string message, Exception innerException) : base(message, innerException)
 {
     this.Type = type;
 }
Example #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AppException"/> class.
 /// </summary>
 /// <param name="type">The type.</param>
 public AppException(AppExceptionTypes type) : base()
 {
     this.Type = type;
 }