Package com.adobe.cq.inbox.api
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InboxException(String message)
Constructs a newInboxException
with the specified detail message.InboxException(String message, Throwable cause)
Constructs a newInboxException
with the specified detail message and cause.InboxException(Throwable cause)
Constructs a newInboxException
with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InboxException
public InboxException(String message)
Constructs a newInboxException
with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call toThrowable.initCause(java.lang.Throwable)
.- Parameters:
message
- The detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method.
-
InboxException
public InboxException(Throwable cause)
Constructs a newInboxException
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 forInboxException
that are wrappers for other
s.Throwable
- Parameters:
cause
- The cause (which is saved for later retrieval by theThrowable.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 newInboxException
with the specified detail message and cause.- Parameters:
message
- The detail message (which is saved for later retrieval by theThrowable.getMessage()
method).cause
- The cause (which is saved for later retrieval by theThrowable.getCause()
method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-
-