Class TextParseException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.thymeleaf.templateparser.text.TextParseException
All Implemented Interfaces:
Serializable

public final class TextParseException extends Exception

Exception that can be thrown during parsing of text templates using a Thymeleaf text-based parser.

Since:
3.0.0
See Also:
  • Field Details

  • Constructor Details

    • TextParseException

      public TextParseException()
    • TextParseException

      public TextParseException(String message, Throwable throwable)
    • TextParseException

      public TextParseException(String message)
    • TextParseException

      public TextParseException(Throwable throwable)
    • TextParseException

      public TextParseException(int line, int col)
    • TextParseException

      public TextParseException(String message, Throwable throwable, int line, int col)
    • TextParseException

      public TextParseException(String message, int line, int col)
    • TextParseException

      public TextParseException(Throwable throwable, int line, int col)
  • Method Details

    • messagePrefix

      private static String messagePrefix(int line, int col)
    • message

      private static String message(String message, Throwable throwable)
    • getLine

      public Integer getLine()
    • getCol

      public Integer getCol()