Class NotificationSDKServerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.vasco.digipass.sdk.utils.notification.server.exceptions.NotificationSDKServerException
- All Implemented Interfaces:
Serializable
This exception is thrown when a problem occurs while using NotificationSDKServer.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNotificationSDKServerException
(int errorCode) Constructs a newNotificationSDKServerException
.NotificationSDKServerException
(int errorCode, Throwable cause) Constructs a newNotificationSDKServerException
. -
Method Summary
Modifier and TypeMethodDescriptionint
Retrieves the error code of theNotificationSDKServerException
.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NotificationSDKServerException
public NotificationSDKServerException(int errorCode) Constructs a newNotificationSDKServerException
.- Parameters:
errorCode
- The error code. SeeNotificationSDKServerErrorCodes
for more details.
-
NotificationSDKServerException
Constructs a newNotificationSDKServerException
.- Parameters:
errorCode
- The error code. SeeNotificationSDKServerErrorCodes
for more details.cause
- Throwable describing the cause of the failure.
-
-
Method Details
-
getErrorCode
public int getErrorCode()Retrieves the error code of theNotificationSDKServerException
. Error codes are defined in theNotificationSDKServerErrorCodes
class.- Returns:
- The error code of the exception.
-