Class JexlException.Property

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    JexlException

    public static class JexlException.Property
    extends JexlException
    Thrown when a property is unknown.
    Since:
    3.0
    See Also:
    Serialized Form
    • Field Detail

      • undefined

        private final boolean undefined
        Undefined variable flag.
    • Constructor Detail

      • Property

        @Deprecated
        public Property​(JexlNode node,
                        java.lang.String pty)
        Deprecated.
        3.2
        Creates a new Property exception instance.
        Parameters:
        node - the offending ASTnode
        pty - the unknown property
      • Property

        public Property​(JexlNode node,
                        java.lang.String pty,
                        boolean undef,
                        java.lang.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

        @Deprecated
        public Property​(JexlNode node,
                        java.lang.String pty,
                        java.lang.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 Detail

      • detailedMessage

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

        public java.lang.String getProperty()
        Returns:
        the property name
      • isUndefined

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