koala.dynamicjava.interpreter.error
Class PossibleExecutionError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by koala.dynamicjava.interpreter.error.ExecutionError
              extended by koala.dynamicjava.interpreter.error.PossibleExecutionError
All Implemented Interfaces:
Serializable

public class PossibleExecutionError
extends ExecutionError

This error is thrown when an NameVisitor encounters AmbiguousName that denotes ReferenceTypeName. In most contexts, this is an error

Author:
Java PLT
See Also:
Serialized Form

Field Summary
 
Fields inherited from class koala.dynamicjava.interpreter.error.ExecutionError
SHOW_CAUSE_PROPERTY, SHOW_TRACE_PROPERTY, thrown
 
Constructor Summary
PossibleExecutionError(String s, Node n, ReferenceTypeName rt)
          Constructs a PossiblexecutionError with the specified detail message, tree node, and refereence type.
 
Method Summary
 ReferenceTypeName getReferenceType()
           
 
Methods inherited from class koala.dynamicjava.interpreter.error.ExecutionError
getMessage, getNode, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PossibleExecutionError

public PossibleExecutionError(String s,
                              Node n,
                              ReferenceTypeName rt)
Constructs a PossiblexecutionError with the specified detail message, tree node, and refereence type.

Parameters:
s - the detail message (a key in a resource file).
n - the syntax tree node where the error occurs
rt - the ReferenceTypeName returned in this error
Method Detail

getReferenceType

public ReferenceTypeName getReferenceType()