Class PebbleException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AttributeNotFoundException, ClassAccessException, LoaderException, ParserException

public class PebbleException extends RuntimeException
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • lineNumber

      protected final Integer lineNumber
    • filename

      protected final String filename
    • message

      protected final String message
  • Constructor Details

  • Method Details

    • getLineNumber

      public Integer getLineNumber()
      Returns the line number on which the exception was thrown.
      Returns:
      the line number on which the exception was thrown.
    • getFileName

      public String getFileName()
      Returns the filename in which the exception was thrown.
      Returns:
      the filename in which the exception was thrown.
    • getPebbleMessage

      public String getPebbleMessage()
      Returns the message which is set for the exception by Pebble. Its the message which is not enhanced with the line number and filename.
      Returns:
      the message which is set for the exception by Pebble.