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:
  • Field Details

  • Constructor Details

    • Method

      @Deprecated public Method(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

      @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

      public Method(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

      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 Details

    • getMethod

      public String getMethod()
      Returns:
      the method name
    • getMethodSignature

      public String getMethodSignature()
      Returns:
      the method signature
      Since:
      3.2
    • detailedMessage

      protected String detailedMessage()
      Description copied from class: JexlException
      Accesses detailed message.
      Overrides:
      detailedMessage in class JexlException
      Returns:
      the message