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

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

    • detailedMessage

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

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

      public String getMethodSignature()
      Gets the method signature.
      Returns:
      The method signature
      Since:
      3.2