Class NotificationSDKServerErrorCodes
- java.lang.Object
-
- com.vasco.digipass.sdk.utils.notification.server.constants.NotificationSDKServerErrorCodes
-
public class NotificationSDKServerErrorCodes extends java.lang.Object
Defines the error codes returned by the NotificationSDKServer.
-
-
Field Summary
Fields Modifier and Type Field Description static int
CALL_ON_TERMINATED_INSTANCE
The NotificationSDKServer instance has been finished.static int
CREDENTIALS_ANDROID_INVALID
The Android part of the credentials object is invalid.static int
CREDENTIALS_IOS_INVALID
The iOS part of the credentials object is invalid.static int
CREDENTIALS_NULL
The credentials object is null.static int
INTERNAL_ERROR
An internal error has occurred.static int
NOTIFICATION_ANDROID_DATA_TOO_LONG
The Android data of the notification is too long (the maximum length of the payload isNotificationSDKServer.MAX_PAYLOAD_LENGTH_ANDROID
bytes).static int
NOTIFICATION_CONTENT_NULL
The notification content is null.static int
NOTIFICATION_IOS_DATA_TOO_LONG
The iOS data of the notification is too long (the maximum length of the payload isNotificationSDKServer.MAX_PAYLOAD_LENGTH_IOS
bytes).static int
NOTIFICATION_IOS_NO_APP_BUNDLE_ID
The iOS bundle ID has not been specified in the notification.static int
NOTIFICATION_IOS_TITLE_CHARACTER_INVALID
The iOS title of the notification contains an invalid character.static int
NOTIFICATION_IOS_TOKEN_INVALID
The iOS device token is no longer valid.static int
NOTIFICATION_NULL
The notification object is null.static int
NOTIFICATION_PROVIDER_ANDROID_ERROR
There has been an error with the Google notification service provider.static int
NOTIFICATION_PROVIDER_IOS_ERROR
There has been an error with the Apple notification service provider.static int
NOTIFICATION_SUBJECT_NULL
The notification subject is null.static int
NOTIFICATION_TITLE_NULL
The notification title is null.static int
SETTINGS_INVALID
The settings object is invalid.static int
VASCO_NOTIFICATION_IDENTIFIER_INCORRECT_FORMAT
The notification format is incorrect.static int
VASCO_NOTIFICATION_IDENTIFIER_INVALID
The notification identifier is invalid.static int
VASCO_NOTIFICATION_IDENTIFIER_NULL
The notification identifier is null or empty.
-
-
-
Field Detail
-
INTERNAL_ERROR
public static final int INTERNAL_ERROR
An internal error has occurred. The error code value is -5400.- See Also:
- Constant Field Values
-
VASCO_NOTIFICATION_IDENTIFIER_INCORRECT_FORMAT
public static final int VASCO_NOTIFICATION_IDENTIFIER_INCORRECT_FORMAT
The notification format is incorrect. It must be an even hexadecimal string. The error code value is -5401.- See Also:
- Constant Field Values
-
VASCO_NOTIFICATION_IDENTIFIER_NULL
public static final int VASCO_NOTIFICATION_IDENTIFIER_NULL
The notification identifier is null or empty. The error code value is -5402.- See Also:
- Constant Field Values
-
VASCO_NOTIFICATION_IDENTIFIER_INVALID
public static final int VASCO_NOTIFICATION_IDENTIFIER_INVALID
The notification identifier is invalid. The error code value is -5403.- See Also:
- Constant Field Values
-
CREDENTIALS_NULL
public static final int CREDENTIALS_NULL
The credentials object is null. The error code value is -5404.- See Also:
- Constant Field Values
-
CREDENTIALS_ANDROID_INVALID
public static final int CREDENTIALS_ANDROID_INVALID
The Android part of the credentials object is invalid. The error code value is -5405.- See Also:
- Constant Field Values
-
CREDENTIALS_IOS_INVALID
public static final int CREDENTIALS_IOS_INVALID
The iOS part of the credentials object is invalid. The error code value is -5406.- See Also:
- Constant Field Values
-
SETTINGS_INVALID
public static final int SETTINGS_INVALID
The settings object is invalid. The error code value is -5409.- See Also:
- Constant Field Values
-
NOTIFICATION_PROVIDER_ANDROID_ERROR
public static final int NOTIFICATION_PROVIDER_ANDROID_ERROR
There has been an error with the Google notification service provider. See cause for error details. The error code value is -5410.- See Also:
- Constant Field Values
-
NOTIFICATION_PROVIDER_IOS_ERROR
public static final int NOTIFICATION_PROVIDER_IOS_ERROR
There has been an error with the Apple notification service provider. See cause for error details. The error code value is -5411.- See Also:
- Constant Field Values
-
NOTIFICATION_NULL
public static final int NOTIFICATION_NULL
The notification object is null. The error code value is -5414.- See Also:
- Constant Field Values
-
NOTIFICATION_TITLE_NULL
public static final int NOTIFICATION_TITLE_NULL
The notification title is null. The error code value is -5415.- See Also:
- Constant Field Values
-
NOTIFICATION_IOS_TITLE_CHARACTER_INVALID
public static final int NOTIFICATION_IOS_TITLE_CHARACTER_INVALID
The iOS title of the notification contains an invalid character. '\n' is not a valid character in the title. The error code value is -5416.- See Also:
- Constant Field Values
-
NOTIFICATION_SUBJECT_NULL
public static final int NOTIFICATION_SUBJECT_NULL
The notification subject is null. The error code value is -5417.- See Also:
- Constant Field Values
-
NOTIFICATION_CONTENT_NULL
public static final int NOTIFICATION_CONTENT_NULL
The notification content is null. The error code value is -5418.- See Also:
- Constant Field Values
-
NOTIFICATION_ANDROID_DATA_TOO_LONG
public static final int NOTIFICATION_ANDROID_DATA_TOO_LONG
The Android data of the notification is too long (the maximum length of the payload isNotificationSDKServer.MAX_PAYLOAD_LENGTH_ANDROID
bytes). The error code value is -5421.- See Also:
- Constant Field Values
-
NOTIFICATION_IOS_DATA_TOO_LONG
public static final int NOTIFICATION_IOS_DATA_TOO_LONG
The iOS data of the notification is too long (the maximum length of the payload isNotificationSDKServer.MAX_PAYLOAD_LENGTH_IOS
bytes). The error code value is -5422.- See Also:
- Constant Field Values
-
NOTIFICATION_IOS_TOKEN_INVALID
public static final int NOTIFICATION_IOS_TOKEN_INVALID
The iOS device token is no longer valid. The error code value is -5425.- See Also:
- Constant Field Values
-
NOTIFICATION_IOS_NO_APP_BUNDLE_ID
public static final int NOTIFICATION_IOS_NO_APP_BUNDLE_ID
The iOS bundle ID has not been specified in the notification. The error code value is -5426.- See Also:
- Constant Field Values
-
CALL_ON_TERMINATED_INSTANCE
public static final int CALL_ON_TERMINATED_INSTANCE
The NotificationSDKServer instance has been finished. It cannot be used anymore. The error code value is -5427.- See Also:
- Constant Field Values
-
-