Class InboxException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.adobe.cq.inbox.api.InboxException
All Implemented Interfaces:
Serializable

public class InboxException extends Exception
InboxException is the base class for all inbox related exception
See Also:
  • Constructor Details

    • InboxException

      public InboxException(String message)
      Constructs a new InboxException with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).
      Parameters:
      message - The detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
    • InboxException

      public InboxException(Throwable cause)
      Constructs a new InboxException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). This constructor is useful for InboxException that are wrappers for other Throwables.
      Parameters:
      cause - The cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
    • InboxException

      public InboxException(String message, Throwable cause)
      Constructs a new InboxException with the specified detail message and cause.
      Parameters:
      message - The detail message (which is saved for later retrieval by the Throwable.getMessage() method).
      cause - The cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)