Top Description Constructors
org.springframework.r2dbc.connection.init

public Class CannotReadScriptException

extends ScriptException
Class Inheritance
Annotations
@SuppressWarnings:serial
Imports
org.springframework.core.io.support.EncodedResource

Thrown by ScriptUtils if an SQL script cannot be read.
Authors
Keith Donald, Sam Brannen, Mark Paluch
Since
5.3

Constructor Summary

AccessConstructor and Description
public
CannotReadScriptException(EncodedResource
the resource that cannot be read from
resource
,
Throwable
the underlying cause of the resource access failure
cause
)

Create a new CannotReadScriptException.

Constructor Detail

CannotReadScriptExceptionback to summary
public CannotReadScriptException(EncodedResource resource, Throwable cause)

Create a new CannotReadScriptException.

Parameters
resource:EncodedResource

the resource that cannot be read from

cause:Throwable

the underlying cause of the resource access failure