Class PhoneSystemException

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int errorCode  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getErrorCode()  
      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
    • Field Detail

      • errorCode

        protected final int errorCode
    • Constructor Detail

      • PhoneSystemException

        public PhoneSystemException()
        Since:
        11.27
      • PhoneSystemException

        public PhoneSystemException​(java.lang.String message)
        Parameters:
        message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
        Since:
        11.27
      • PhoneSystemException

        public PhoneSystemException​(java.lang.String message,
                                    int errorCode)
        Parameters:
        message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
        errorCode - the optional error code of the exception (which is saved for later retrieval by the getErrorCode() method).
        Since:
        11.27
      • PhoneSystemException

        public PhoneSystemException​(java.lang.String message,
                                    int errorCode,
                                    java.lang.Throwable cause)
        Parameters:
        message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
        errorCode - the optional error code of the exception (which is saved for later retrieval by the getErrorCode() method).
        cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
        Since:
        11.27
    • Method Detail

      • getErrorCode

        public int getErrorCode()
        Returns:
        the errorCode
        Since:
        11.27
      • toString

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