Class WindowException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.sun.portal.portletcontainer.invoker.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 Summary
Fields Modifier and Type Field Description protected com.sun.portal.container.ErrorCode
errorCode
-
Constructor Summary
Constructors Constructor Description 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.
WindowException(com.sun.portal.container.ErrorCode code, String msg, Throwable cause)
Constructs a new exception with the specified message, and the originalexception
orerror
, indicating an error in the container as happened.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.sun.portal.container.ErrorCode
getErrorCode()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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 originalexception
orerror
, indicating an error in the container as happened.
- Parameters:
msg
- The descriptive message.cause
- The originalexception
orerror
.
-
-