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

    • detailedMessage

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

      public String getAnnotation()
      Gets the annotation name
      Returns:
      The annotation name