Class ParsingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.github.erdos.stencil.exceptions.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)
-
-
-
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()
-
-