Class IdUClientException

All Implemented Interfaces:
Serializable

public final class IdUClientException extends IdException
The type of client exceptions.
See Also:
  • Constructor Details

    • IdUClientException

      public IdUClientException(Optional<UUID> inRequestId, IdErrorCode errorCode, String message, String inReason)
      Construct an exception.
      Parameters:
      inRequestId - The request ID
      errorCode - The error code
      message - The message
      inReason - The error reason
    • IdUClientException

      public IdUClientException(Optional<UUID> inRequestId, IdErrorCode errorCode, String message, Throwable cause, String inReason)
      Construct an exception.
      Parameters:
      inRequestId - The request ID
      errorCode - The error code
      message - The message
      cause - The cause
      inReason - The error reason
    • IdUClientException

      public IdUClientException(Optional<UUID> inRequestId, IdErrorCode errorCode, Throwable cause, String inReason)
      Construct an exception.
      Parameters:
      inRequestId - The request ID
      errorCode - The error code
      cause - The cause
      inReason - The error reason
  • Method Details

    • requestId

      public Optional<UUID> requestId()
      Returns:
      The ID associated with the request, if the server returned one
    • reason

      public String reason()
      Returns:
      The error reason