edu.vub.at.exceptions
Class XIllegalApplication

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

public final class XIllegalApplication
extends InterpreterException

XIllegalApplication is thrown when a natively implemented method is applied incorrectly. This is often the case when an anonymous method (implemented in Java) is applied instead of its surrounding closure.

Author:
tvc
See Also:
Serialized Form

Field Summary
private  java.lang.Class nativeImplementor_
           
private static long serialVersionUID
           
 
Fields inherited from class edu.vub.at.exceptions.InterpreterException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
XIllegalApplication(java.lang.String message, java.lang.Class nativeImplementor)
           
 
Method Summary
 java.lang.Class getImplementorClass()
           
 ATStripe getStripeType()
           
 
Methods inherited from class edu.vub.at.exceptions.InterpreterException
getAmbientTalkRepresentation, 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

nativeImplementor_

private final java.lang.Class nativeImplementor_
Constructor Detail

XIllegalApplication

public XIllegalApplication(java.lang.String message,
                           java.lang.Class nativeImplementor)
Parameters:
message - a description of the illegal application
nativeImplementor - the class of the anonymous native lambda that was erroneously invoked
Method Detail

getImplementorClass

public java.lang.Class getImplementorClass()

getStripeType

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