Class IdCommandExecutionFailure
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.io7m.idstore.server.controller.command_exec.IdCommandExecutionFailure
- All Implemented Interfaces:
Serializable
A failure to execute a command.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIdCommandExecutionFailure(String message, Throwable cause, UUID inRequestId, int inHttpStatusCode, IdErrorCode inErrorCode) Construct an exception.IdCommandExecutionFailure(String message, UUID inRequestId, int inHttpStatusCode, IdErrorCode inErrorCode) Construct an exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IdCommandExecutionFailure
public IdCommandExecutionFailure(String message, UUID inRequestId, int inHttpStatusCode, IdErrorCode inErrorCode) Construct an exception.- Parameters:
message- The messageinRequestId- The request IDinHttpStatusCode- The HTTP status codeinErrorCode- The error code
-
IdCommandExecutionFailure
public IdCommandExecutionFailure(String message, Throwable cause, UUID inRequestId, int inHttpStatusCode, IdErrorCode inErrorCode) Construct an exception.- Parameters:
message- The messagecause- The causeinRequestId- The request IDinHttpStatusCode- The HTTP status codeinErrorCode- The error code
-
-
Method Details
-
requestId
- Returns:
- The request ID
-
httpStatusCode
public int httpStatusCode()- Returns:
- The HTTP status code
-
errorCode
- Returns:
- The error code
-