public class

ScriptStatementFailedException

extends RuntimeException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ org.springframework.jdbc.datasource.init.ScriptStatementFailedException

Class Overview

Thrown by ResourceDatabasePopulator if a statement in one of its SQL scripts failed when executing it against the target database.

Summary

Public Constructors
ScriptStatementFailedException(String statement, int lineNumber, EncodedResource resource, Throwable cause)
Constructor a new ScriptStatementFailedException.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public ScriptStatementFailedException (String statement, int lineNumber, EncodedResource resource, Throwable cause)

Constructor a new ScriptStatementFailedException.

Parameters
statement the actual SQL statement that failed
lineNumber the line number in the SQL script
resource the resource that could not be read from
cause the underlying cause of the resource access failure