com.ibm.portal.state.exceptions
Class PortletPreProcessorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.portal.state.exceptions.StateException
              extended by com.ibm.portal.state.exceptions.PortletPreProcessorException
All Implemented Interfaces:
Localized, java.io.Serializable

public abstract class PortletPreProcessorException
extends StateException

Exception representing the error case that a PortletPreProcessor cannot perform its task properly. Should be sub-classed by specific preprocessor exceptions.

Since:
6.1.0.3
See Also:
Serialized Form

Field Summary
protected  PortletPreProcessor processor
          Preprocessor that caused the exception
 
Constructor Summary
PortletPreProcessorException(PortletPreProcessor aProcessor)
          Initializes the exception with the preprocessor the error occurred in.
PortletPreProcessorException(PortletPreProcessor aProcessor, java.lang.Throwable aCause)
          Initializes the exception with the preprocessor the error occurred in.
 
Method Summary
 PortletPreProcessor getPreProcessor()
          Returns the preprocessor that threw the 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
 
Methods inherited from interface com.ibm.portal.Localized
getDescription, getLocales, getTitle
 

Field Detail

processor

protected final PortletPreProcessor processor
Preprocessor that caused the exception

Constructor Detail

PortletPreProcessorException

public PortletPreProcessorException(PortletPreProcessor aProcessor)
Initializes the exception with the preprocessor the error occurred in.

Parameters:
aProcessor - PortletPreProcessor that caused the exception. Must not be null.

PortletPreProcessorException

public PortletPreProcessorException(PortletPreProcessor aProcessor,
                                    java.lang.Throwable aCause)
Initializes the exception with the preprocessor the error occurred in.

Parameters:
aProcessor - PortletPreProcessor that caused the exception. Must not be null.
aCause - The root cause of the exception. Must not be null .
Method Detail

getPreProcessor

public PortletPreProcessor getPreProcessor()
Returns the preprocessor that threw the exception.