Class ScriptException

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
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CannotReadScriptException, ScriptParseException, ScriptStatementFailedException, UncategorizedScriptException

public abstract class ScriptException extends org.springframework.dao.DataAccessException
Root of the hierarchy of data access exceptions that are related to processing of SQL scripts.
Since:
4.0.3
Author:
Sam Brannen
See Also:
  • Constructor Details

    • ScriptException

      public ScriptException(String message)
      Create a new ScriptException.
      Parameters:
      message - the detail message
    • ScriptException

      public ScriptException(String message, @Nullable Throwable cause)
      Create a new ScriptException.
      Parameters:
      message - the detail message
      cause - the root cause