erjang
Class ErlangException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by erjang.ErlangException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ErlangError, ErlangExit, ErlangRaise, ErlangThrow

public abstract class ErlangException
extends java.lang.RuntimeException

See Also:
Serialized Form

Nested Class Summary
 class ErlangException.ExceptionAsObject
          Exception wrapper to be used in 'try_case' and 'raise' instructions.
 
Field Summary
static EAtom am_java_exception
           
static java.lang.String ERJANG_MODULES_DOT
           
 
Constructor Summary
ErlangException(EObject reason)
           
ErlangException(EObject reason, java.lang.Throwable cause)
           
ErlangException(java.lang.Throwable cause)
           
 
Method Summary
static ESeq decodeTrace(java.lang.StackTraceElement[] st)
           
 EObject getCatchValue()
           
abstract  EAtom getExClass()
           
 ESeq getLazyTrace()
           
 java.lang.String getMessage()
           
 ESeq getTrace()
           
 ETuple3 getTryValue()
           
 EObject reason()
           
 ErlangException.ExceptionAsObject wrapAsObject()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

am_java_exception

public static final EAtom am_java_exception

ERJANG_MODULES_DOT

public static final java.lang.String ERJANG_MODULES_DOT
See Also:
Constant Field Values
Constructor Detail

ErlangException

public ErlangException(EObject reason)

ErlangException

public ErlangException(EObject reason,
                       java.lang.Throwable cause)

ErlangException

public ErlangException(java.lang.Throwable cause)
Method Detail

getExClass

public abstract EAtom getExClass()

reason

public EObject reason()

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable

getCatchValue

public EObject getCatchValue()
Returns:

getTrace

public ESeq getTrace()

getLazyTrace

public ESeq getLazyTrace()

decodeTrace

public static ESeq decodeTrace(java.lang.StackTraceElement[] st)

getTryValue

public ETuple3 getTryValue()
Returns:

wrapAsObject

public ErlangException.ExceptionAsObject wrapAsObject()