Class JexlException.Property

All Implemented Interfaces:
Serializable
Enclosing class:
JexlException

public static class JexlException.Property extends JexlException
Thrown when a property is unknown.
Since:
3.0
See Also:
  • Constructor Details Link icon

    • Property Link icon

      @Deprecated public Property(org.apache.commons.jexl3.parser.JexlNode node, String pty)
      Deprecated.
      3.2
      Creates a new Property exception instance.
      Parameters:
      node - the offending ASTnode
      pty - the unknown property
    • Property Link icon

      public Property(org.apache.commons.jexl3.parser.JexlNode node, String pty, boolean undef, Throwable cause)
      Creates a new Property exception instance.
      Parameters:
      node - the offending ASTnode
      pty - the unknown property
      undef - whether the variable is null or undefined
      cause - the exception causing the error
    • Property Link icon

      @Deprecated public Property(org.apache.commons.jexl3.parser.JexlNode node, String pty, Throwable cause)
      Deprecated.
      3.2
      Creates a new Property exception instance.
      Parameters:
      node - the offending ASTnode
      pty - the unknown property
      cause - the exception causing the error
  • Method Details Link icon

    • detailedMessage Link icon

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

      public String getProperty()
      Gets the property name
      Returns:
      the property name
    • isUndefined Link icon

      public boolean isUndefined()
      Tests whether the variable causing an error is undefined or evaluated as null.
      Returns:
      true if undefined, false otherwise