ptolemy.caltrop
Class FunctionCallException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by caltrop.interpreter.InterpreterException
                  extended by ptolemy.caltrop.FunctionCallException
All Implemented Interfaces:
java.io.Serializable

public class FunctionCallException
extends caltrop.interpreter.InterpreterException

A convenience exception used to indicate an error in a built-in function.

Since:
Ptolemy II 4.1
Version:
$Id: FunctionCallException.java 38798 2005-07-08 20:00:01Z cxh $
Author:
Steve Neuendorffer
See Also:
Serialized Form
Accepted Rating:
Red (cxh)
Proposed Rating:
Yellow (neuendor)

Constructor Summary
FunctionCallException(java.lang.String name, java.lang.Object arg1, java.lang.Object arg2, java.lang.Throwable cause)
          Create a FunctionCallException for an exception in a function with the given cause.
FunctionCallException(java.lang.String name, java.lang.Object arg, java.lang.Throwable cause)
          Create a FunctionCallException for an exception in a function with the given cause.
FunctionCallException(java.lang.String name, java.lang.Throwable cause)
          Create a FunctionCallException for an exception in a function with the given cause.
 
Method Summary
 
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
 

Constructor Detail

FunctionCallException

public FunctionCallException(java.lang.String name,
                             java.lang.Throwable cause)
Create a FunctionCallException for an exception in a function with the given cause.

Parameters:
name - The name bound to the function.
cause - The cause.

FunctionCallException

public FunctionCallException(java.lang.String name,
                             java.lang.Object arg,
                             java.lang.Throwable cause)
Create a FunctionCallException for an exception in a function with the given cause.

Parameters:
name - The name bound to the function.
arg - The argument.
cause - The cause.

FunctionCallException

public FunctionCallException(java.lang.String name,
                             java.lang.Object arg1,
                             java.lang.Object arg2,
                             java.lang.Throwable cause)
Create a FunctionCallException for an exception in a function with the given cause.

Parameters:
name - The name bound to the function.
arg1 - The argument.
arg2 - The argument.
cause - The cause.