Class JexlException.Annotation

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

    public static class JexlException.Annotation
    extends JexlException
    Thrown when an annotation handler throws an exception.
    Since:
    3.1
    See Also:
    Serialized Form
    • Constructor Detail

      • Annotation

        public Annotation​(JexlNode node,
                          java.lang.String name,
                          java.lang.Throwable cause)
        Creates a new Annotation exception instance.
        Parameters:
        node - the annotated statement node
        name - the annotation name
        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
      • getAnnotation

        public java.lang.String getAnnotation()
        Returns:
        the annotation name