org.apache.pluto
Class PortletContainerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.pluto.PortletContainerException
All Implemented Interfaces:
Serializable

public class PortletContainerException
extends Exception

Thrown when an internal portlet container exception occurs within Pluto. This type of exception indicates an error from which the container is not able to recover.

Version:
1.0
See Also:
Serialized Form

Constructor Summary
PortletContainerException()
          Constructs a new PortletContainerException.
PortletContainerException(String text)
          Constructs a new PortletContainerException with the given message.
PortletContainerException(String text, Throwable cause)
          Constructs a new PortletContainerException with the given message and root cause.
PortletContainerException(Throwable cause)
          Constructs a new portlet invoker exception when the portlet needs to throw an exception.
 
Method Summary
 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 PortletContainerException. This exception will have no message and no root cause.


PortletContainerException

public PortletContainerException(String text)
Constructs a new PortletContainerException with the given message.

Parameters:
text - the message explaining the exception occurance

PortletContainerException

public PortletContainerException(String text,
                                 Throwable cause)
Constructs a new PortletContainerException with the given message and root cause.

Parameters:
text - the message explaining the exception occurance
cause - the root cause of the is exception

PortletContainerException

public PortletContainerException(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 Throwable getRootCause()
Returns the exception that cause this portlet exception.

Returns:
the Throwable that caused this portlet exception.


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.