org.apache.pluto
Class PortletContainerException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.pluto.PortletContainerException
All Implemented Interfaces:
java.io.Serializable

public class PortletContainerException
extends java.lang.Exception

The PortletContainerException class defines a general exception that the portlet container can throw when it encounters difficulty.

See Also:
Serialized Form

Constructor Summary
PortletContainerException()
          Constructs a new portlet exception.
PortletContainerException(java.lang.String text)
          Constructs a new portlet invoker exception with the given text.
PortletContainerException(java.lang.String text, java.lang.Throwable cause)
          Constructs a new portlet invoker exception when the invoker needs to throw an exception and include a message about the "root case" that interfered with its normal operation, including a description message.
PortletContainerException(java.lang.Throwable cause)
          Constructs a new portlet invoker exception when the portlet needs to throw an exception.
 
Method Summary
 java.lang.Throwable getRootCause()
          Returns the exception that cause this portlet exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

PortletContainerException

public PortletContainerException()
Constructs a new portlet exception.


PortletContainerException

public PortletContainerException(java.lang.String text)
Constructs a new portlet invoker exception with the given text. The layout system may use the text write it to a log.

Parameters:
text - the exception text

PortletContainerException

public PortletContainerException(java.lang.String text,
                                 java.lang.Throwable cause)
Constructs a new portlet invoker exception when the invoker needs to throw an exception and include a message about the "root case" that interfered with its normal operation, including a description message.

Parameters:
text - the exception text
cause - the root cause

PortletContainerException

public PortletContainerException(java.lang.Throwable cause)
Constructs a new portlet invoker exception when the portlet needs to throw an exception. The exception's message is based on the localized message of the underlying exception.

Parameters:
cause - the root cause
Method Detail

getRootCause

public java.lang.Throwable getRootCause()
Returns the exception that cause this portlet exception.

Returns:
the Throwable that caused this portlet exception.


Copyright © 2003-2005 . All Rights Reserved.