Class SDKRuntimeException

  • All Implemented Interfaces:
    java.io.Serializable

    public class SDKRuntimeException
    extends java.lang.RuntimeException
    This exception is thrown if an internal error is encountered by the 3DS SDK.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      SDKRuntimeException​(java.lang.String message, java.lang.String errorCode)
      Constructor.
      SDKRuntimeException​(java.lang.String message, java.lang.String errorCode, java.lang.Throwable cause)
      The SDKRuntimeException constructor shall create an object with the specified error details.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getErrorCode()
      The getErrorCode method returns the implementer-specific error code.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Throwable

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

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

      • SDKRuntimeException

        public SDKRuntimeException​(java.lang.String message,
                                   java.lang.String errorCode)
        Constructor.
        Parameters:
        message - String.
        errorCode - String.
      • SDKRuntimeException

        public SDKRuntimeException​(java.lang.String message,
                                   java.lang.String errorCode,
                                   java.lang.Throwable cause)
        The SDKRuntimeException constructor shall create an object with the specified error details.
        Parameters:
        message - String.
        errorCode - String.
        cause - String.
    • Method Detail

      • getErrorCode

        public java.lang.String getErrorCode()
        The getErrorCode method returns the implementer-specific error code.
        Returns:
        the error code.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable