com.cognos.CAM_AAA.authentication

Class UnrecoverableException

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • com.cognos.CAM_AAA.authentication.UnrecoverableException
    • Constructor Summary

      Constructors 
      Constructor and Description
      UnrecoverableException(java.lang.String theCaption, java.lang.String theMessage)
      Create an unrecoverable exception.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void addCaption(java.lang.String theCaption)
      Adds a caption to the existing caption for this exception.
      void addMessage(java.lang.String theMessage)
      Adds a detailed error message to indicate what caused this exception to occur.
      void addMessageOnTop(java.lang.String theMessage)
      Adds an error message to the top of the message stack.
      java.lang.String[] getCaptions()
      Returns all the captions for this exception.
      java.lang.String[] getMessages()
      Returns all the error messages that provides the detail on the condition that caused this exception.
      • 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

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

      • UnrecoverableException

        public UnrecoverableException(java.lang.String theCaption,
                                      java.lang.String theMessage)
        Create an unrecoverable exception.
        Parameters:
        theCaption - The label or title to display for this exception.
        theMessage - The details about the condition that caused this exception.
    • Method Detail

      • addCaption

        public void addCaption(java.lang.String theCaption)
        Adds a caption to the existing caption for this exception.
        Parameters:
        theCaption - The caption to add.
      • getCaptions

        public java.lang.String[] getCaptions()
        Returns all the captions for this exception.
        Returns:
        An array of all the captions for this exception.
      • addMessage

        public void addMessage(java.lang.String theMessage)
        Adds a detailed error message to indicate what caused this exception to occur.
        Parameters:
        theMessage - The details about the condition that caused this exception.
      • addMessageOnTop

        public void addMessageOnTop(java.lang.String theMessage)
        Adds an error message to the top of the message stack.
        Parameters:
        theMessage - The details on the condition that caused this exception.
      • getMessages

        public java.lang.String[] getMessages()
        Returns all the error messages that provides the detail on the condition that caused this exception.
        Returns:
        An array of messages that provides the details on the condition that caused this exception.