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
public class UncategorizedScriptException extends ScriptException
Thrown when we cannot determine anything more specific than "something went wrong while processing an SQL script": for example, aSQLException
from JDBC that we cannot pinpoint more precisely.- Since:
- 4.0.3
- Author:
- Sam Brannen
- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description UncategorizedScriptException(String message)
Construct a newUncategorizedScriptException
.UncategorizedScriptException(String message, Throwable cause)
Construct a newUncategorizedScriptException
.
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
UncategorizedScriptException
public UncategorizedScriptException(String message)
Construct a newUncategorizedScriptException
.- Parameters:
message
- detailed message
UncategorizedScriptException
public UncategorizedScriptException(String message, Throwable cause)
Construct a newUncategorizedScriptException
.- Parameters:
message
- detailed messagecause
- the root cause