org.codehaus.plexus.summit.exception
Class DefaultExceptionHandler

java.lang.Object
  extended byorg.codehaus.plexus.logging.AbstractLogEnabled
      extended byorg.codehaus.plexus.summit.AbstractSummitComponent
          extended byorg.codehaus.plexus.summit.exception.DefaultExceptionHandler
All Implemented Interfaces:
org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable, ExceptionHandler, org.codehaus.plexus.logging.LogEnabled, SummitComponent

public class DefaultExceptionHandler
extends AbstractSummitComponent
implements ExceptionHandler


Field Summary
 
Fields inherited from class org.codehaus.plexus.summit.AbstractSummitComponent
 
Fields inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
 
Fields inherited from interface org.codehaus.plexus.summit.exception.ExceptionHandler
ROLE
 
Constructor Summary
DefaultExceptionHandler()
           
 
Method Summary
 void handleException(RunData data, java.lang.Throwable throwable)
          This method will be called to handle a throwable thrown by the pipeline
 
Methods inherited from class org.codehaus.plexus.summit.AbstractSummitComponent
contextualize, getContainer, lookup, lookup
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultExceptionHandler

public DefaultExceptionHandler()
Method Detail

handleException

public void handleException(RunData data,
                            java.lang.Throwable throwable)
                     throws java.lang.Exception
Description copied from interface: ExceptionHandler
This method will be called to handle a throwable thrown by the pipeline

Specified by:
handleException in interface ExceptionHandler
Parameters:
data - RunData for the request where the error occured
throwable - The throwable that was thrown
Throws:
java.lang.Exception