java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.helidon.dbclient.DbClientException
io.helidon.dbclient.DbStatementException
- All Implemented Interfaces:
Serializable
A
DbClientException
used for database statement.- See Also:
-
Constructor Summary
ConstructorDescriptionDbStatementException
(String message, String statement) Create a new exception for message and statement.DbStatementException
(String message, String statement, Throwable cause) Create a new exception for message, statement and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DbStatementException
Create a new exception for message and statement.- Parameters:
message
- descriptive messagestatement
- statement being processed
-
DbStatementException
Create a new exception for message, statement and cause.- Parameters:
message
- descriptive messagestatement
- statement being processedcause
- original throwable causing this exception
-
-
Method Details
-
statement
Database statement that caused an exception.- Returns:
- database statement
-