Class ApiModuleException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.scaleoutsoftware.modules.client.ApiModuleException
All Implemented Interfaces:
Serializable

public class ApiModuleException extends Exception
An API module exception is thrown when: 1) The invoke request times out. 2) The invoke handler throws an exception (the causal exception will be provided inside the API module exception) 3) The invoke handler threw an exception while creating the object. 4) The invoke handler did not exist.
See Also:
  • Constructor Details

    • ApiModuleException

      public ApiModuleException()
      Default constructor.
    • ApiModuleException

      public ApiModuleException(String message)
      Create an ApiModuleException with a message.
      Parameters:
      message - the message.
    • ApiModuleException

      public ApiModuleException(String message, Exception cause)
      Create an ApiModuleException with a message and a cause.
      Parameters:
      message - the message.
      cause - the cause.
    • ApiModuleException

      public ApiModuleException(Exception cause)
      Create an ApiModuleException with a message.
      Parameters:
      cause - the cause.
    • ApiModuleException

      public ApiModuleException(String message, Exception cause, boolean enableSuppresion, boolean writableStackTrace)
      Create an ApiModuleException with a message and cause -- optionally suppress and write stack trace.
      Parameters:
      message - the message.
      cause - the cause.
      enableSuppresion - flag to enable suppression.
      writableStackTrace - flag to determine stacktrace is writable.