org.springframework.batch.core.listener
Class StepListenerFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.batch.core.listener.StepListenerFailedException
All Implemented Interfaces:
Serializable

public class StepListenerFailedException
extends RuntimeException

Exception to indicate a problem in a step listener.

Author:
Dave Syer
See Also:
Serialized Form

Constructor Summary
StepListenerFailedException(String message, Throwable t)
           
StepListenerFailedException(String message, Throwable ex, RuntimeException e)
           
 
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

StepListenerFailedException

public StepListenerFailedException(String message,
                                   Throwable t)
Parameters:
message - describes the error to the user
t - the exception that was thrown by a listener

StepListenerFailedException

public StepListenerFailedException(String message,
                                   Throwable ex,
                                   RuntimeException e)
Parameters:
message - describes the error to the user
ex - the exception that was thrown by a listener
e - the exception that caused the skip


Copyright © 2009 SpringSource. All Rights Reserved.