edu.vub.at.exceptions
Class XIllegalApplication
java.lang.Object
java.lang.Throwable
java.lang.Exception
edu.vub.at.exceptions.InterpreterException
edu.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
Fields inherited from class java.lang.Throwable |
|
Constructor Summary |
XIllegalApplication(java.lang.String message,
java.lang.Class nativeImplementor)
|
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 |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
nativeImplementor_
private final java.lang.Class nativeImplementor_
XIllegalApplication
public XIllegalApplication(java.lang.String message,
java.lang.Class nativeImplementor)
- Parameters:
message
- a description of the illegal applicationnativeImplementor
- the class of the anonymous native lambda that was erroneously invoked
getImplementorClass
public java.lang.Class getImplementorClass()
getStripeType
public ATStripe getStripeType()
- Specified by:
getStripeType
in class InterpreterException