Class JexlException.Method

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Constructor Detail

      • Method

        public Method​(JexlInfo info,
                      java.lang.String name,
                      java.lang.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,
                      java.lang.String name,
                      java.lang.Object[] args,
                      java.lang.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,
                      java.lang.String name,
                      java.lang.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,
                      java.lang.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,
                      java.lang.String name,
                      java.lang.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 Detail

      • detailedMessage

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

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

        public java.lang.String getMethodSignature()
        Returns:
        the method signature
        Since:
        3.2