Class CannotReadScriptException
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.CannotReadScriptException
- All Implemented Interfaces:
- Serializable
Thrown by 
ScriptUtils if an SQL script cannot be read.- Since:
- 5.3
- Author:
- Keith Donald, Sam Brannen, Mark Paluch
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionCannotReadScriptException(EncodedResource resource, Throwable cause) Create a newCannotReadScriptException.
- 
Method SummaryMethods inherited from class org.springframework.core.NestedRuntimeExceptioncontains, getMessage, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
CannotReadScriptExceptionCreate a newCannotReadScriptException.- Parameters:
- resource- the resource that cannot be read from
- cause- the underlying cause of the resource access failure
 
 
-