A custom exception class to flag template execution errors
| Constructor and description |
|---|
TemplateExecutionException
(int lineNumber) |
TemplateExecutionException
(int lineNumber, String message) |
TemplateExecutionException
(int lineNumber, String message, Throwable cause) |
TemplateExecutionException
(int lineNumber, Throwable cause) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
int |
getLineNumber()Returns the line number in the template source where the error occurred |
| Methods inherited from class | Name |
|---|---|
class Exception |
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, addSuppressed, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
class Throwable |
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, addSuppressed, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
Copyright © 2003-2017 The Apache Software Foundation. All rights reserved.