public class UncheckedSQLException extends RuntimeException
SQLException with an unchecked exception.| Constructor and Description |
|---|
UncheckedSQLException(SQLException cause)
Creates a new unchecked SQL exception.
|
UncheckedSQLException(String message,
SQLException cause)
Creates a new unchecked SQL exception.
|
| Modifier and Type | Method and Description |
|---|---|
SQLException |
getCause()
Returns the cause of this exception.
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UncheckedSQLException(String message, SQLException cause)
message - The detail message.cause - The SQLException to wrap.NullPointerException - If the cause is null.public UncheckedSQLException(SQLException cause)
cause - The SQLException to wrap.NullPointerException - If the cause is null.public SQLException getCause()
Copyright © 2017. All rights reserved.