Package com.axemble.vdoc.sdk.exceptions
Class SDKFatalException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.axemble.vdoc.core.exceptions.VDocException
com.axemble.vdoc.core.exceptions.FatalException
com.axemble.vdoc.sdk.exceptions.SDKFatalException
- All Implemented Interfaces:
Serializable
public class SDKFatalException
extends com.axemble.vdoc.core.exceptions.FatalException
SDKFatalException
and its subclasses are unchecked
exceptions.
Throwing a SDKFatalException
exception will loose the end user context. The end user can retrieve exception stack trace.
- Author:
- vlygeros
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs a new runtime exception.SDKFatalException
(String message, String... messageParameters) Constructs a new runtime exception with the specified detail message.SDKFatalException
(String message, Throwable cause, String... messageParameters) Constructs a new runtime exception with the specified detail message and cause.SDKFatalException
(Throwable cause) Constructs a new runtime exception with cause. -
Method Summary
Methods inherited from class com.axemble.vdoc.core.exceptions.VDocException
findException, getLocalizedMessage, getLocalizedMessage, getMessageParameters, getThrowableMessage, isLocalized, isLogAsError, setLocalizedMessage, setLogAsError, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
SDKFatalException
public SDKFatalException()Constructs a new runtime exception. -
SDKFatalException
Constructs a new runtime exception 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.)messageParameters
-
-
SDKFatalException
Constructs a new runtime exception with the specified detail message.- Parameters:
message
- the detail message (which is saved for later retrieval by theThrowable.getMessage()
method).messageParameters
-
-
SDKFatalException
Constructs a new runtime exception with cause.- 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.)
-