Class ScriptParseException
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.ScriptParseException
- All Implemented Interfaces:
- Serializable
Thrown by 
ScriptUtils if an SQL script cannot be properly parsed.- Since:
- 4.0.3
- Author:
- Sam Brannen
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionScriptParseException(String message, EncodedResource resource) Create a newScriptParseException.ScriptParseException(String message, EncodedResource resource, Throwable cause) Create a newScriptParseException.
- 
Method SummaryMethods inherited from class org.springframework.core.NestedRuntimeExceptioncontains, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
ScriptParseExceptionCreate a newScriptParseException.- Parameters:
- message- detailed message
- resource- the resource from which the SQL script was read
 
- 
ScriptParseExceptionpublic ScriptParseException(String message, @Nullable EncodedResource resource, @Nullable Throwable cause) Create a newScriptParseException.- Parameters:
- message- detailed message
- resource- the resource from which the SQL script was read
- cause- the underlying cause of the failure
 
 
-