Class ScriptException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.dao.DataAccessException
org.springframework.r2dbc.connection.init.ScriptException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CannotReadScriptException
,ScriptParseException
,ScriptStatementFailedException
,UncategorizedScriptException
Root of the hierarchy of data access exceptions that are related to processing
of SQL scripts.
- Since:
- 5.3
- Author:
- Sam Brannen, Mark Paluch
- See Also:
-
Constructor Summary
ConstructorDescriptionScriptException
(String message) Create a newScriptException
.ScriptException
(String message, Throwable cause) Create a newScriptException
. -
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ScriptException
Create a newScriptException
.- Parameters:
message
- the detail message
-
ScriptException
Create a newScriptException
.- Parameters:
message
- the detail messagecause
- the root cause
-