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
      cause - the exception causing the error
      args - the method arguments
      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