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:
Serializable

public class CannotReadScriptException
extends RuntimeException

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

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

Constructor Summary
CannotReadScriptException(EncodedResource resource, Throwable cause)
          Construct 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,
                                 Throwable cause)
Construct a new CannotReadScriptException.

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