Class ParsingException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class ParsingException
    extends java.lang.RuntimeException
    This class indicates an error while reading and parsing a stencil expression.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static ParsingException fromMessage​(java.lang.String expression, java.lang.String message)  
      java.lang.String getExpression()  
      static ParsingException wrapping​(java.lang.String message, java.lang.Exception cause)  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • fromMessage

        public static ParsingException fromMessage​(java.lang.String expression,
                                                   java.lang.String message)
      • wrapping

        public static ParsingException wrapping​(java.lang.String message,
                                                java.lang.Exception cause)
      • getExpression

        public java.lang.String getExpression()