Class UncategorizedScriptException
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
org.springframework.jdbc.datasource.init.UncategorizedScriptException
- All Implemented Interfaces:
Serializable
Thrown when we cannot determine anything more specific than "something went
wrong while processing an SQL script": for example, a
SQLException
from JDBC that we cannot pinpoint more precisely.- Since:
- 4.0.3
- Author:
- Sam Brannen
- See Also:
-
Constructor Summary
ConstructorDescriptionUncategorizedScriptException
(String message) Create a newUncategorizedScriptException
.UncategorizedScriptException
(String message, Throwable cause) Create a newUncategorizedScriptException
. -
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
-
UncategorizedScriptException
Create a newUncategorizedScriptException
.- Parameters:
message
- detailed message
-
UncategorizedScriptException
Create a newUncategorizedScriptException
.- Parameters:
message
- detailed messagecause
- the root cause
-