Top Fields Constructors Methods
org.hsqldb.server

pack-priv Class RecoverableOdbcFailure

extends Exception
Class Inheritance
Imports
org.hsqldb.result.Result

Author
Blaine Simpson (blaine dot simpson at admc dot com)
Since
1.9.0

Field Summary

Modifier and TypeField and Description
private String
private Result
private String

Constructor Summary

AccessConstructor and Description
public
public
RecoverableOdbcFailure(String m)

This constructor purposefully means that both server-side and client-side message will be set to the specified message.

public
RecoverableOdbcFailure(String m, String sqlStateCode)

This constructor purposefully means that both server-side and client-side message will be set to the specified message.

public
RecoverableOdbcFailure(String ourMessage, String clientMessage, String sqlStateCode)

Set any parameter to null to skip the specified reporting.

Method Summary

Modifier and TypeMethod and Description
public String
public Result
public String

Field Detail

clientMessageback to summary
private String clientMessage
errorResultback to summary
private Result errorResult
sqlStateCodeback to summary
private String sqlStateCode

Constructor Detail

RecoverableOdbcFailureback to summary
public RecoverableOdbcFailure(Result errorResult)
RecoverableOdbcFailureback to summary
public RecoverableOdbcFailure(String m)

This constructor purposefully means that both server-side and client-side message will be set to the specified message.

RecoverableOdbcFailureback to summary
public RecoverableOdbcFailure(String m, String sqlStateCode)

This constructor purposefully means that both server-side and client-side message will be set to the specified message.

Note

The parameters DO NOT SPECIFY server-side and client-side messages. Use the 3-parameter constructor for that.

See Also
RecoverableOdbcFailure(String, String, String)
RecoverableOdbcFailureback to summary
public RecoverableOdbcFailure(String ourMessage, String clientMessage, String sqlStateCode)

Set any parameter to null to skip the specified reporting.

Method Detail

getClientMessageback to summary
public String getClientMessage()
getErrorResultback to summary
public Result getErrorResult()
getSqlStateCodeback to summary
public String getSqlStateCode()