类 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
- 所有已实现的接口:
Serializable
public class ScriptParseException extends ScriptException
Thrown byScriptUtils
if an SQL script cannot be properly parsed.- 从以下版本开始:
- 4.0.3
- 作者:
- Sam Brannen
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 ScriptParseException(String message, EncodedResource resource)
Construct a newScriptParseException
.ScriptParseException(String message, EncodedResource resource, Throwable cause)
Construct a newScriptParseException
.
方法概要
从类继承的方法 org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
构造器详细资料
ScriptParseException
public ScriptParseException(String message, EncodedResource resource)
Construct a newScriptParseException
.- 参数:
message
- detailed messageresource
- the resource from which the SQL script was read
ScriptParseException
public ScriptParseException(String message, EncodedResource resource, Throwable cause)
Construct a newScriptParseException
.- 参数:
message
- detailed messageresource
- the resource from which the SQL script was readcause
- the underlying cause of the failure