Class 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$
    Author:
    Steve Neuendorffer
    See Also:
    Serialized Form
    Pt.AcceptedRating:
    Red (cxh)
    Pt.ProposedRating:
    Yellow (neuendor)
    • Constructor Summary

      Constructors 
      Constructor Description
      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

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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.