at.dms.kjc
Class CMethodNotFoundError

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--at.dms.util.FormattedException
                    |
                    +--at.dms.compiler.PositionedError
                          |
                          +--at.dms.kjc.CMethodNotFoundError
All Implemented Interfaces:
java.io.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, java.lang.String name, CType[] types)
          Constructs an error with information about the method call.
 
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
getErrorMessage, getFormattedMessage, hasDescription
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, 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,
                            java.lang.String name,
                            CType[] types)
Constructs an error with information about the method call. XXX: refactor; name and types can be obtained from the caller object.
Parameters:
where - The reference to token where error happen
caller - The expression that made to call to the non-existant method.
name - The non-existant method name.
types - The parameter types of the method call.
Method Detail

getCaller

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