Spring Framework

org.springframework.jdbc.datasource.init
Class CannotReadScriptException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.jdbc.datasource.init.CannotReadScriptException
All Implemented Interfaces:
java.io.Serializable

public class CannotReadScriptException
extends java.lang.RuntimeException

Thrown by ResourceDatabasePopulator if one of its SQL scripts could not be read during population.

Since:
3.0
Author:
Keith Donald
See Also:
Serialized Form

Constructor Summary
CannotReadScriptException(EncodedResource resource, java.lang.Throwable cause)
          Constructor a new CannotReadScriptException.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CannotReadScriptException

public CannotReadScriptException(EncodedResource resource,
                                 java.lang.Throwable cause)
Constructor a new CannotReadScriptException.

Parameters:
resource - the resource that could not be read from
cause - the underlying cause of the resource access failure

Spring Framework