Class BatchConfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.batch.core.configuration.BatchConfigurationException
- All Implemented Interfaces:
Serializable
Represents that an error has occurred in the configuration of the base batch
infrastructure (the creation of a
JobRepository
, for example).- Since:
- 2.2.6
- Author:
- Michael Minella, Mahmoud Ben Hassine
- See Also:
-
Constructor Summary
ConstructorDescriptionBatchConfigurationException
(String message) Create an exception with the given message.BatchConfigurationException
(String message, Throwable cause) Create an exception with the given message andThrowable
.Create an exception with the givenThrowable
. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BatchConfigurationException
Create an exception with the givenThrowable
.- Parameters:
t
- an exception to be wrapped
-
BatchConfigurationException
Create an exception with the given message.- Parameters:
message
- the error message
-
BatchConfigurationException
Create an exception with the given message andThrowable
.- Parameters:
message
- the error messagecause
- an exception to be wrapped
-