Class NotificationSDKClientException

  • All Implemented Interfaces:
    java.io.Serializable

    public class NotificationSDKClientException
    extends java.lang.Exception
    Exception which can be thrown by the NotificationSDKClient SDK in case of error.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getErrorCode()
      Gets the error code
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • NotificationSDKClientException

        public NotificationSDKClientException​(int errorCode)
        Constructor
        Parameters:
        errorCode - error code
      • NotificationSDKClientException

        public NotificationSDKClientException​(int errorCode,
                                              java.lang.Throwable cause)
        Constructor
        Parameters:
        errorCode - Error code
        cause - Cause
    • Method Detail

      • getErrorCode

        public int getErrorCode()
        Gets the error code
        Returns:
        The error code