Package com.io7m.idstore.user_client.api
Class IdUClientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.io7m.idstore.error_codes.IdException
com.io7m.idstore.user_client.api.IdUClientException
- All Implemented Interfaces:
Serializable
The type of client exceptions.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIdUClientException(Optional<UUID> inRequestId, IdErrorCode errorCode, String message, String inReason) Construct an exception.IdUClientException(Optional<UUID> inRequestId, IdErrorCode errorCode, String message, Throwable cause, String inReason) Construct an exception.IdUClientException(Optional<UUID> inRequestId, IdErrorCode errorCode, Throwable cause, String inReason) Construct an exception. -
Method Summary
Methods inherited from class com.io7m.idstore.error_codes.IdException
errorCodeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IdUClientException
public IdUClientException(Optional<UUID> inRequestId, IdErrorCode errorCode, String message, String inReason) Construct an exception.- Parameters:
inRequestId- The request IDerrorCode- The error codemessage- The messageinReason- The error reason
-
IdUClientException
public IdUClientException(Optional<UUID> inRequestId, IdErrorCode errorCode, String message, Throwable cause, String inReason) Construct an exception.- Parameters:
inRequestId- The request IDerrorCode- The error codemessage- The messagecause- The causeinReason- The error reason
-
IdUClientException
public IdUClientException(Optional<UUID> inRequestId, IdErrorCode errorCode, Throwable cause, String inReason) Construct an exception.- Parameters:
inRequestId- The request IDerrorCode- The error codecause- The causeinReason- The error reason
-
-
Method Details
-
requestId
- Returns:
- The ID associated with the request, if the server returned one
-
reason
- Returns:
- The error reason
-