com.caucho.amber
Class AmberRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.caucho.amber.AmberRuntimeException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- AmberObjectNotFoundException
public class AmberRuntimeException
- extends java.lang.RuntimeException
An amber exception is a runtime
- See Also:
- Serialized Form
Method Summary |
static java.lang.RuntimeException |
create(java.lang.Throwable e)
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, 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 |
AmberRuntimeException
public AmberRuntimeException(java.lang.String message)
- Creates the wrapper with a message.
AmberRuntimeException
public AmberRuntimeException(java.lang.String message,
java.lang.Throwable e)
- Creates the wrapper with a message and a root cause.
- Parameters:
message
- the message.e
- the rootCause exception
AmberRuntimeException
public AmberRuntimeException(java.lang.Throwable e)
- Creates the wrapper with a root cause.
- Parameters:
message
- the message.e
- the rootCause exception
create
public static java.lang.RuntimeException create(java.lang.Throwable e)