Class EverSdkException

java.lang.Object
java.lang.Throwable
java.lang.Exception
tech.deplant.java4ever.binding.EverSdkException
All Implemented Interfaces:
Serializable

public class EverSdkException extends Exception
Exception thrown when attempting to use EVER-SDK API methods This exception has errorResponse() field that holds error response from EVER-SDK. All additional causes can be inspected using the Throwable.getCause() method.
Since:
1.5
See Also:
  • Constructor Details

    • EverSdkException

      public EverSdkException(EverSdkException.ErrorResult errorResponse)
      Constructs an ExecutionException with no detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause.
    • EverSdkException

      public EverSdkException(EverSdkException.ErrorResult errorResponse, String message)
      Constructs an ExecutionException with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause.
      Parameters:
      message - the detail message
    • EverSdkException

      public EverSdkException(EverSdkException.ErrorResult errorResponse, String message, Throwable cause)
      Constructs an ExecutionException with the specified detail message and cause.
      Parameters:
      message - the detail message
      cause - the cause (which is saved for later retrieval by the Throwable.getCause() method)
    • EverSdkException

      public EverSdkException(EverSdkException.ErrorResult errorResponse, Throwable cause)
      Constructs an ExecutionException with the specified cause. The detail message is set to (cause == null ? null : cause.toString()) (which typically contains the class and detail message of cause).
      Parameters:
      cause - the cause (which is saved for later retrieval by the Throwable.getCause() method)
  • Method Details