Class ParseException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.klojang.templates.ParseException
All Implemented Interfaces:
Serializable

public final class ParseException extends Exception
Thrown if the template source could not be parsed into a Template.
Author:
Ayco Holleman
See Also:
  • Method Details

    • getErrorCode

      public ParseErrorCode getErrorCode()
      Returns a ParseErrorCode constant identifying the error.
      Returns:
      a ParseError constant identifying the error.