public class UncheckedSQLException
extends java.lang.RuntimeException
| Constructor | Description |
|---|---|
UncheckedSQLException(java.lang.String message,
java.lang.Throwable cause) |
|
UncheckedSQLException(java.lang.Throwable cause) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Optional<java.lang.Integer> |
getErrorCode() |
If the underlying cause provides an error code, provides it.
|
java.util.Optional<java.lang.String> |
getSqlState() |
If underlying cause provides a SQL state, provide it.
|
public UncheckedSQLException(java.lang.Throwable cause)
public UncheckedSQLException(java.lang.String message,
java.lang.Throwable cause)
public java.util.Optional<java.lang.Integer> getErrorCode()
public java.util.Optional<java.lang.String> getSqlState()