예제 #1
0
 /// <summary>
 /// Instantiates a new Maileon exception
 /// </summary>
 /// <param name="status">the HTTP status</param>
 public MaileonException(HttpStatus status)
 {
     this.StatusCode   = status.Code;
     this.ReasonPhrase = status.Reason;
 }
예제 #2
0
 public MaileonServerError(HttpStatus status) : base(status)
 {
 }
예제 #3
0
 public MaileonAccessControlException(HttpStatus status, string message) : base(status, message)
 {
 }
예제 #4
0
 /// <summary>
 /// Instantiates a new Maileon exception
 /// </summary>
 /// <param name="reason">the HTTP reason phrase</param>
 /// <param name="status">the HTTP status code</param>
 public MaileonException(HttpStatus status, string reason)
 {
     this.ReasonPhrase = reason;
     this.StatusCode   = status.Code;
 }
예제 #5
0
 public MaileonAccessControlException(HttpStatus status) : base(status)
 {
 }
예제 #6
0
 public MaileonAuthorizationException(HttpStatus status, string message) : base(status, message)
 {
 }
예제 #7
0
 public MaileonAuthorizationException(HttpStatus status) : base(status)
 {
 }
예제 #8
0
 public MaileonBadRequestException(HttpStatus status, string message) : base(status, message)
 {
 }
예제 #9
0
 public MaileonBadRequestException(HttpStatus status) : base(status)
 {
 }