Beispiel #1
0
 public BackendException(BackendErrorCode errorCode, String message, String transientClass, HttpStatusCode httpErrorCode)
     : base(message)
 {
     ErrorCode      = errorCode;
     TransientClass = transientClass;
     HttpErrorCode  = httpErrorCode;
 }
Beispiel #2
0
 public InvalidOperationBackendException(BackendErrorCode errorCode, string message)
     : base(errorCode, message, "InvalidOperationBackendException", HttpStatusCode.BadRequest)
 {
 }
Beispiel #3
0
 public NotFoundBackendException(BackendErrorCode errorCode, string message)
     : base(errorCode, message, "NotFoundBackendException", HttpStatusCode.NotFound)
 {
 }
Beispiel #4
0
 public AlreadyExistsBackendException(BackendErrorCode errorCode, string message)
     : base(errorCode, message, "AlreadyExistsBackendException", HttpStatusCode.Conflict)
 {
 }