Class FunctionEvaluationException

    • Constructor Detail

      • FunctionEvaluationException

        public FunctionEvaluationException​(double argument)
        Construct an exception indicating the argument value that caused the function evaluation to fail.
        Parameters:
        argument - the failing function argument
      • FunctionEvaluationException

        public FunctionEvaluationException​(double[] argument)
        Construct an exception indicating the argument value that caused the function evaluation to fail.
        Parameters:
        argument - the failing function argument
        Since:
        2.0
      • FunctionEvaluationException

        public FunctionEvaluationException​(double argument,
                                           String pattern,
                                           Object... arguments)
        Constructs an exception with specified formatted detail message. Message formatting is delegated to MessageFormat.
        Parameters:
        argument - the failing function argument
        pattern - format specifier
        arguments - format arguments
        Since:
        1.2
      • FunctionEvaluationException

        public FunctionEvaluationException​(double argument,
                                           Localizable pattern,
                                           Object... arguments)
        Constructs an exception with specified formatted detail message. Message formatting is delegated to MessageFormat.
        Parameters:
        argument - the failing function argument
        pattern - format specifier
        arguments - format arguments
        Since:
        2.2
      • FunctionEvaluationException

        public FunctionEvaluationException​(double[] argument,
                                           String pattern,
                                           Object... arguments)
        Constructs an exception with specified formatted detail message. Message formatting is delegated to MessageFormat.
        Parameters:
        argument - the failing function argument
        pattern - format specifier
        arguments - format arguments
        Since:
        2.0
      • FunctionEvaluationException

        public FunctionEvaluationException​(double[] argument,
                                           Localizable pattern,
                                           Object... arguments)
        Constructs an exception with specified formatted detail message. Message formatting is delegated to MessageFormat.
        Parameters:
        argument - the failing function argument
        pattern - format specifier
        arguments - format arguments
        Since:
        2.2
      • FunctionEvaluationException

        public FunctionEvaluationException​(Throwable cause,
                                           double argument)
        Constructs an exception with specified root cause. Message formatting is delegated to MessageFormat.
        Parameters:
        cause - the exception or error that caused this exception to be thrown
        argument - the failing function argument
        Since:
        1.2
      • FunctionEvaluationException

        public FunctionEvaluationException​(Throwable cause,
                                           double[] argument)
        Constructs an exception with specified root cause. Message formatting is delegated to MessageFormat.
        Parameters:
        cause - the exception or error that caused this exception to be thrown
        argument - the failing function argument
        Since:
        2.0
      • FunctionEvaluationException

        public FunctionEvaluationException​(Throwable cause,
                                           double argument,
                                           String pattern,
                                           Object... arguments)
        Constructs an exception with specified formatted detail message and root cause. Message formatting is delegated to MessageFormat.
        Parameters:
        cause - the exception or error that caused this exception to be thrown
        argument - the failing function argument
        pattern - format specifier
        arguments - format arguments
        Since:
        1.2
      • FunctionEvaluationException

        public FunctionEvaluationException​(Throwable cause,
                                           double argument,
                                           Localizable pattern,
                                           Object... arguments)
        Constructs an exception with specified formatted detail message and root cause. Message formatting is delegated to MessageFormat.
        Parameters:
        cause - the exception or error that caused this exception to be thrown
        argument - the failing function argument
        pattern - format specifier
        arguments - format arguments
        Since:
        2.2
      • FunctionEvaluationException

        public FunctionEvaluationException​(Throwable cause,
                                           double[] argument,
                                           String pattern,
                                           Object... arguments)
        Constructs an exception with specified formatted detail message and root cause. Message formatting is delegated to MessageFormat.
        Parameters:
        cause - the exception or error that caused this exception to be thrown
        argument - the failing function argument
        pattern - format specifier
        arguments - format arguments
        Since:
        2.0
      • FunctionEvaluationException

        public FunctionEvaluationException​(Throwable cause,
                                           double[] argument,
                                           Localizable pattern,
                                           Object... arguments)
        Constructs an exception with specified formatted detail message and root cause. Message formatting is delegated to MessageFormat.
        Parameters:
        cause - the exception or error that caused this exception to be thrown
        argument - the failing function argument
        pattern - format specifier
        arguments - format arguments
        Since:
        2.2
    • Method Detail

      • getArgument

        public double[] getArgument()
        Returns the function argument that caused this exception.
        Returns:
        argument that caused function evaluation to fail