spring-framework / org.springframework.jdbc.datasource.init / ScriptException

ScriptException

abstract class ScriptException : DataAccessException

Root of the hierarchy of data access exceptions that are related to processing of SQL scripts.

Author
Sam Brannen

Since
4.0.3

Constructors

<init>

ScriptException(message: String)
ScriptException(message: String, cause: Throwable)

Constructor for ScriptException.

Inheritors

CannotReadScriptException

open class CannotReadScriptException : ScriptException

Thrown by ScriptUtils if an SQL script cannot be read.

ScriptParseException

open class ScriptParseException : ScriptException

Thrown by ScriptUtils if an SQL script cannot be properly parsed.

ScriptStatementFailedException

open class ScriptStatementFailedException : ScriptException

Thrown by ScriptUtils if a statement in an SQL script failed when executing it against the target database.

UncategorizedScriptException

open class UncategorizedScriptException : ScriptException

Thrown when we cannot determine anything more specific than "something went wrong while processing an SQL script": for example, a java.sql.SQLException from JDBC that we cannot pinpoint more precisely.