Class JexlException.Annotation

All Implemented Interfaces:
Serializable
Enclosing class:
JexlException

public static class JexlException.Annotation extends JexlException
Thrown when an annotation handler throws an exception.
Since:
3.1
See Also:
  • Field Details

  • Constructor Details

    • Annotation

      public Annotation(JexlNode node, String name, 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 Details

    • getAnnotation

      public String getAnnotation()
      Returns:
      the annotation name
    • detailedMessage

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