com.caucho.amber
Class AmberRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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

Constructor Summary
AmberRuntimeException(java.lang.String message)
          Creates the wrapper with a message.
AmberRuntimeException(java.lang.String message, java.lang.Throwable e)
          Creates the wrapper with a message and a root cause.
AmberRuntimeException(java.lang.Throwable e)
          Creates the wrapper with a root cause.
 
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
 

Constructor Detail

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
Method Detail

create

public static java.lang.RuntimeException create(java.lang.Throwable e)