org.springframework.jdbc.datasource.init
Class CannotReadScriptException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
CannotReadScriptException
public CannotReadScriptException(EncodedResource resource,
Throwable cause)
- Construct a new
CannotReadScriptException
.
- Parameters:
resource
- the resource that cannot be read fromcause
- the underlying cause of the resource access failure