Class UncategorizedScriptException
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
org.springframework.r2dbc.connection.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, an
R2dbcException
from R2DBC that we cannot pinpoint more precisely.- Since:
- 5.3
- Author:
- Sam Brannen, Mark Paluch
- 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, getMessage, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, 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
-