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

public Class ScriptParseException

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

Thrown by ScriptUtils if an SQL script cannot be properly parsed.
Authors
Sam Brannen, Mark Paluch
Since
5.3

Constructor Summary

AccessConstructor and Description
public
ScriptParseException(String
detailed message
message
,
EncodedResource
the resource from which the SQL script was read
resource
)

Create a new ScriptParseException.

public
ScriptParseException(String
detailed message
message
,
EncodedResource
the resource from which the SQL script was read
resource
,
Throwable
the underlying cause of the failure
cause
)

Create a new ScriptParseException.

Method Summary

Modifier and TypeMethod and Description
private static String
buildMessage(String message, EncodedResource resource)

Constructor Detail

ScriptParseExceptionback to summary
public ScriptParseException(String message, EncodedResource resource)

Create a new ScriptParseException.

Parameters
message:String

detailed message

resource:EncodedResource

the resource from which the SQL script was read

ScriptParseExceptionback to summary
public ScriptParseException(String message, EncodedResource resource, Throwable cause)

Create a new ScriptParseException.

Parameters
message:String

detailed message

resource:EncodedResource

the resource from which the SQL script was read

cause:Throwable

the underlying cause of the failure

Method Detail

buildMessageback to summary
private static String buildMessage(String message, EncodedResource resource)