edu.vub.at.exceptions
Class XSymbiosisFailure
java.lang.Object
java.lang.Throwable
java.lang.Exception
edu.vub.at.exceptions.InterpreterException
edu.vub.at.exceptions.XSymbiosisFailure
- All Implemented Interfaces:
- java.io.Serializable
- public class XSymbiosisFailure
- extends InterpreterException
An instance of this class is raised whenever a symbiotic method invocation fails due to overloading
which could not be resolved given the actual arguments.
- Author:
- tvcutsem
- See Also:
- Serialized Form
Fields inherited from class java.lang.Throwable |
|
Constructor Summary |
XSymbiosisFailure(java.lang.Class failedClass,
java.lang.reflect.Constructor[] choices,
ATObject[] atArgs,
int numMatchingCtors)
Reports that an overloaded constructor could not be resolved to a unique implementation. |
XSymbiosisFailure(java.lang.Object symbiont,
java.lang.String selector,
ATObject[] atArgs)
Reports that an overloaded method could not be resolved to a unique implementation
because there are no matches for any static types. |
XSymbiosisFailure(java.lang.Object symbiont,
java.lang.String selector,
java.util.LinkedList choices,
ATObject[] atArgs)
Reports that an overloaded method could not be resolved to a unique implementation
because there are multiple matches. |
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 |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
message_
private final java.lang.String message_
XSymbiosisFailure
public XSymbiosisFailure(java.lang.Object symbiont,
java.lang.String selector,
java.util.LinkedList choices,
ATObject[] atArgs)
throws InterpreterException
- Reports that an overloaded method could not be resolved to a unique implementation
because there are multiple matches.
- Parameters:
symbiont
- the Java object upon which the overloaded symbiotic invocation failed.selector
- the name of the invoked overloaded methodchoices
- a linked list of all applicable java.lang.Method objectsatArgs
- the actual arguments to the overloaded invocation
XSymbiosisFailure
public XSymbiosisFailure(java.lang.Object symbiont,
java.lang.String selector,
ATObject[] atArgs)
throws InterpreterException
- Reports that an overloaded method could not be resolved to a unique implementation
because there are no matches for any static types.
- Parameters:
symbiont
- the Java object upon which the overloaded symbiotic invocation failed.selector
- the name of the invoked overloaded methodatArgs
- the actual arguments to the overloaded invocation
XSymbiosisFailure
public XSymbiosisFailure(java.lang.Class failedClass,
java.lang.reflect.Constructor[] choices,
ATObject[] atArgs,
int numMatchingCtors)
throws InterpreterException
- Reports that an overloaded constructor could not be resolved to a unique implementation.
- Parameters:
failedClass
- the Java class whose constructor could not be resolved.choices
- all applicable constructors (may contain null values, corresponding to non-applicable choices)numMatchingCtors
- the number of matching constructors (the number of non-null values in choices)
getMessage
public java.lang.String getMessage()
getStripeType
public ATStripe getStripeType()
- Specified by:
getStripeType
in class InterpreterException