private MenuAlreadyExistsException( ExceptionCode exceptionCode, OperationCode operationCode, Guid correlationId, string message ) : base((int)exceptionCode, (int)operationCode, correlationId, message) { HttpStatusCode = (int)ExceptionCodeToHttpStatusCodeConverter.GetHttpStatusCode((int)exceptionCode); }
public OperationFailedException(ExceptionCode exceptionCode, OperationCode operationCode, Guid correlationId, string message) : base((int)exceptionCode, (int)operationCode, correlationId, message) { HttpStatusCode = (int)ExceptionCodeToHttpStatusCodeConverter.GetHttpStatusCode((int)exceptionCode); }
private DomainRuleViolationException( ExceptionCode exceptionCode, OperationCode operationCode, Guid correlationId, string message, Exception domainException ) : base((int)exceptionCode, (int)operationCode, correlationId, message, domainException) { HttpStatusCode = (int)ExceptionCodeToHttpStatusCodeConverter.GetHttpStatusCode((int)exceptionCode); }