org.springframework.batch.core
Class UnexpectedJobExecutionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.batch.core.UnexpectedJobExecutionException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FatalStepExecutionException, SkipException, SkipListenerFailedException, SkipPolicyFailedException

public class UnexpectedJobExecutionException
extends RuntimeException

Indicates to the framework that a critical error has occurred and processing should immediately stop.

Author:
Lucas Ward
See Also:
Serialized Form

Constructor Summary
UnexpectedJobExecutionException(String msg)
          Constructs a new instance with a message.
UnexpectedJobExecutionException(String msg, Throwable nested)
          Constructs a new instance with a message.
 
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

UnexpectedJobExecutionException

public UnexpectedJobExecutionException(String msg)
Constructs a new instance with a message.

Parameters:
msg - the exception message.

UnexpectedJobExecutionException

public UnexpectedJobExecutionException(String msg,
                                       Throwable nested)
Constructs a new instance with a message.

Parameters:
msg - the exception message.


Copyright © 2013 SpringSource. All Rights Reserved.