at.dms.kjc
Class CMethodNotFoundError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by at.dms.util.FormattedException
              extended by at.dms.compiler.PositionedError
                  extended by at.dms.kjc.CMethodNotFoundError
All Implemented Interfaces:
Serializable

public class CMethodNotFoundError
extends PositionedError

This error display all parameters of method call

See Also:
Serialized Form

Constructor Summary
CMethodNotFoundError(TokenReference where, JMethodCallExpression caller, String name, CType[] types)
          An error with two parameters
 
Method Summary
 JMethodCallExpression getCaller()
          Returns the caller of the method that was not found.
 
Methods inherited from class at.dms.compiler.PositionedError
getMessage, getTokenReference
 
Methods inherited from class at.dms.util.FormattedException
getFormattedMessage, hasDescription
 
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
 

Constructor Detail

CMethodNotFoundError

public CMethodNotFoundError(TokenReference where,
                            JMethodCallExpression caller,
                            String name,
                            CType[] types)
An error with two parameters

Parameters:
where - the reference to token where error happen
caller - the location of method invocation
name - the method name
types - the parameter types
Method Detail

getCaller

public JMethodCallExpression getCaller()
Returns the caller of the method that was not found.