Class ScriptException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.core.NestedRuntimeException
- org.springframework.dao.DataAccessException
- org.springframework.jdbc.datasource.init.ScriptException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CannotReadScriptException
,ScriptParseException
,ScriptStatementFailedException
,UncategorizedScriptException
public abstract class ScriptException extends DataAccessException
Root of the hierarchy of data access exceptions that are related to processing of SQL scripts.- Since:
- 4.0.3
- Author:
- Sam Brannen
- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description ScriptException(String message)
Constructor forScriptException
.ScriptException(String message, Throwable cause)
Constructor forScriptException
.
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Constructor Detail
ScriptException
public ScriptException(String message)
Constructor forScriptException
.- Parameters:
message
- the detail message
ScriptException
public ScriptException(String message, @Nullable Throwable cause)
Constructor forScriptException
.- Parameters:
message
- the detail messagecause
- the root cause