Class WindowException

  • All Implemented Interfaces:
    Serializable

    public class WindowException
    extends Exception
    A WindowException is thrown when error message can be displayed on the Portlet Window.
    See Also:
    Serialized Form
    • Field Detail

      • errorCode

        protected com.sun.portal.container.ErrorCode errorCode
    • Constructor Detail

      • WindowException

        public WindowException​(com.sun.portal.container.ErrorCode code,
                               String msg)
        Constructs a new exception with the specified message, indicating an error in the provider as happened.

        Parameters:
        msg - The descriptive message.
      • WindowException

        public WindowException​(com.sun.portal.container.ErrorCode code,
                               String msg,
                               Throwable cause)
        Constructs a new exception with the specified message, and the original exception or error, indicating an error in the container as happened.

        Parameters:
        msg - The descriptive message.
        cause - The original exception or error.
    • Method Detail

      • getErrorCode

        public com.sun.portal.container.ErrorCode getErrorCode()