Class CannotReadScriptException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.jdbc.datasource.embedded.CannotReadScriptException
All Implemented Interfaces:

public class CannotReadScriptException
extends java.lang.RuntimeException

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

Keith Donald
See Also:
Serialized Form

Constructor Summary
CannotReadScriptException(EncodedResource resource, java.lang.Throwable cause)
          Creates a new cannot read script exception.
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


public CannotReadScriptException(EncodedResource resource,
                                 java.lang.Throwable cause)
Creates a new cannot read script exception.

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