public class AmberException
extends java.sql.SQLException
| Constructor and Description |
|---|
AmberException()
Creates the exception with a message.
|
AmberException(java.lang.String message)
Creates the exception with a message.
|
AmberException(java.lang.String message,
java.lang.Throwable e)
Creates the wrapper with a message and a root cause.
|
AmberException(java.lang.Throwable e)
Creates the wrapper with a root cause.
|
| Modifier and Type | Method and Description |
|---|---|
static AmberException |
create(java.lang.Throwable e) |
java.lang.Throwable |
getCause()
Returns the root cause.
|
getErrorCode, getNextException, getSQLState, iterator, setNextExceptionaddSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AmberException()
public AmberException(java.lang.String message)
public AmberException(java.lang.String message,
java.lang.Throwable e)
message - the message.e - the rootCause exceptionpublic AmberException(java.lang.Throwable e)
message - the message.e - the rootCause exceptionpublic static AmberException create(java.lang.Throwable e)
public java.lang.Throwable getCause()
getCause in class java.lang.Throwable