public class UncheckedSQLException extends UncheckedException
| Constructor and Description |
|---|
UncheckedSQLException(SQLException cause)
Constructor for UncheckedSQLException.
|
UncheckedSQLException(String errorMsg,
SQLException cause)
Constructor for UncheckedSQLException.
|
| Modifier and Type | Method and Description |
|---|---|
SQLException |
getCause()
Returns the cause of this exception.
|
int |
getErrorCode() |
String |
getSQLState() |
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UncheckedSQLException(SQLException cause)
cause - public UncheckedSQLException(String errorMsg, SQLException cause)
errorMsg - cause - public String getSQLState()
public int getErrorCode()
public SQLException getCause()
getCause in class UncheckedExceptionIOException which is the cause of this exception.Copyright © 2021. All rights reserved.