com.ibm.portal.portlet.service
Class PortletServiceUnavailableException
- java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.portal.portlet.service.PortletServiceUnavailableException
- public class PortletServiceUnavailableException
- extends java.lang.Exception
Note that a service configuration problem may also be indicated by a failing JNDI lookup for the portlet service home.
All exceptions of this type indicate permanent unavailability, unless a subclass specifies explicitly that the unavailability is only temporary. If a portlet service is permanently unavailable, any further requests to retrieve the same service interface using the same JNDI name for the service home will also fail.
This exception derives from javax.portlet.PortletException
so that portlets are not
required to implement special error handling if they have no way of operating without the
requested service. In this case, the exception can simply be propagated to the portal, so
that the portlet becomes unavailable for the request.
This exception is an abstract class. Services that need to indicate errors in their initialization process must throw service-specific subclasses of this exception.
Constructor Summary
Constructor and Description |
---|
PortletServiceUnavailableException(java.lang.String s)
|
Method Summary
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
PortletServiceUnavailableException
- public PortletServiceUnavailableException( java.lang.String s)