Class JsltException

All Implemented Interfaces:
Serializable

public class JsltException extends RuntimeException
Parent exception for all exceptions thrown by JSLT for both compilation and run-time errors.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getMessage

      public String getMessage()
      Returns the error message with location information.
      Overrides:
      getMessage in class Throwable
    • getMessageWithoutLocation

      public String getMessageWithoutLocation()
      Returns the error message without location information.
    • getSource

      public String getSource()
      What file/resource did the error occur in? Can be null.
    • getLine

      public int getLine()
      What line did the error occur on? -1 if unknown.
    • getColumn

      public int getColumn()
      What column did the error occur on? -1 if unknown.