public interface DatabaseQueryFailureEvent
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause()
The exception that caused the failure, if applicable.
|
String |
getErrorMessage()
Returns a human-readable error message.
|
QueryFailureReason |
getFailureReason()
The reason for the failure.
|
QueryInfo |
getQueryInfo()
Return a reference to the
QueryInfo object that was used for the request that generated this failure,
or null if this failure event is for a transaction end request (commit or rollback). |
QueryInfo getQueryInfo()
QueryInfo
object that was used for the request that generated this failure,
or null if this failure event is for a transaction end request (commit or rollback).QueryFailureReason getFailureReason()
String getErrorMessage()
Throwable getCause()