Class OrasException

All Implemented Interfaces:
Serializable

@NullMarked public class OrasException extends RuntimeException
Exception for ORAS
See Also:
  • Constructor Details

    • OrasException

      public OrasException(String message)
      Constructor
      Parameters:
      message - The message
    • OrasException

      public OrasException(OrasHttpClient.ResponseWrapper<String> response)
      New exception with a message and a response
      Parameters:
      response - The response
    • OrasException

      public OrasException(String message, Throwable cause)
      Constructor
      Parameters:
      message - The message
      cause - The cause
  • Method Details

    • getError

      public @Nullable Error getError()
      Get the error
      Returns:
      The error
    • getStatusCode

      public Integer getStatusCode()
      Get the status code
      Returns:
      The status code