Class JexlException.Method

All Implemented Interfaces:
Serializable
Enclosing class:
JexlException

public static class JexlException.Method extends JexlException
Thrown when a method or ctor is unknown, ambiguous, or inaccessible.
Since:
3.0
See Also:
  • Constructor Details

    • Method

      public Method(JexlInfo info, String name, Object[] args)
      Creates a new Method exception instance.
      Parameters:
      info - The location information
      name - The method name
      args - The method arguments
      Since:
      3.2
    • Method

      public Method(JexlInfo info, String name, Object[] args, Throwable cause)
      Creates a new Method exception instance.
      Parameters:
      info - The location information
      name - The method name
      args - The method arguments
      cause - The exception causing the error
      Since:
      3.2
    • Method

      @Deprecated public Method(JexlInfo info, String name, Throwable cause)
      Deprecated.
      as of 3.2, use call with method arguments
      Creates a new Method exception instance.
      Parameters:
      info - The location information
      name - The unknown method
      cause - The exception causing the error
    • Method

      @Deprecated public Method(org.apache.commons.jexl3.parser.JexlNode node, String name)
      Deprecated.
      as of 3.2, use call with method arguments
      Creates a new Method exception instance.
      Parameters:
      node - The offending ASTnode
      name - The method name
    • Method

      public Method(org.apache.commons.jexl3.parser.JexlNode node, String name, Object[] args)
      Creates a new Method exception instance.
      Parameters:
      node - The offending ASTnode
      name - The method name
      args - The method arguments
      Since:
      3.2
  • Method Details