Package com.axemble.vdoc.sdk.exceptions
Class SDKException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.axemble.vdoc.core.exceptions.VDocException
com.axemble.vdoc.sdk.exceptions.SDKException
- All Implemented Interfaces:
Serializable
public class SDKException
extends com.axemble.vdoc.core.exceptions.VDocException
SDKException
and its subclasses are unchecked
exceptions.
Throwing a SDKException
exception displays a message to the end user.
- Author:
- vlygeros
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs a new runtime exception.SDKException
(String message, String... messageParameters) Constructs a new runtime exception with the specified detail message.SDKException
(String message, Throwable cause, String... messageParameters) Constructs a new runtime exception with the specified detail message and cause.SDKException
(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
-
SDKException
public SDKException()Constructs a new runtime exception. -
SDKException
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
-
-
SDKException
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
-
-
SDKException
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.)
-