edu.vub.at.exceptions
Class XUserDefined

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byedu.vub.at.exceptions.InterpreterException
              extended byedu.vub.at.exceptions.XUserDefined
All Implemented Interfaces:
java.io.Serializable

public class XUserDefined
extends InterpreterException

Instances of the XUserDefined act as wrappers for ATObjects which are thrown at the ambienttalk level using the raise: primitive. Since we reuse the Java exception propagation, we need to wrap these in a custom class which extends the proper class.

Author:
smostinc
See Also:
Serialized Form

Field Summary
 ATObject customException_
           
private static long serialVersionUID
           
 
Fields inherited from class edu.vub.at.exceptions.InterpreterException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
XUserDefined(ATObject customException)
           
 
Method Summary
 ATObject getAmbientTalkRepresentation()
           
 ATStripe getStripeType()
           
 
Methods inherited from class edu.vub.at.exceptions.InterpreterException
printAmbientTalkStackTrace
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

customException_

public final ATObject customException_
Constructor Detail

XUserDefined

public XUserDefined(ATObject customException)
Method Detail

getAmbientTalkRepresentation

public ATObject getAmbientTalkRepresentation()
Overrides:
getAmbientTalkRepresentation in class InterpreterException

getStripeType

public ATStripe getStripeType()
Specified by:
getStripeType in class InterpreterException