org.springframework.jdbc.datasource.init

Class CannotReadScriptException

  • All Implemented Interfaces:
    java.io.Serializable


    public class CannotReadScriptException
    extends ScriptException
    Thrown by ScriptUtils if an SQL script cannot be read.
    Since:
    3.0
    Author:
    Keith Donald, Sam Brannen
    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, 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)
        Construct a new CannotReadScriptException.
        Parameters:
        resource - the resource that cannot be read from
        cause - the underlying cause of the resource access failure