|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.sql.SQLException
com.caucho.amber.AmberException
public class AmberException
An amber exception is a SQLException
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
static AmberException |
create(java.lang.Throwable e)
|
java.lang.Throwable |
getCause()
Returns the root cause. |
Methods inherited from class java.sql.SQLException |
---|
getErrorCode, getNextException, getSQLState, iterator, setNextException |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public 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 exceptionMethod Detail |
---|
public static AmberException create(java.lang.Throwable e)
public java.lang.Throwable getCause()
getCause
in class java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |