Class CannotReadScriptException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.dao.DataAccessException
org.springframework.data.cassandra.core.cql.session.init.ScriptException
org.springframework.data.cassandra.core.cql.session.init.CannotReadScriptException
- All Implemented Interfaces:
Serializable
Thrown by
ScriptUtils
if a CQL script cannot be read.- Since:
- 3.0
- Author:
- Mark Paluch
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCannotReadScriptException
(EncodedResource resource, Throwable cause) Construct a newCannotReadScriptException
. -
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
-
CannotReadScriptException
Construct a newCannotReadScriptException
.- Parameters:
resource
- the resource that cannot be read from.cause
- the root cause.
-