Class TemplateErrorDetail
-
- All Implemented Interfaces:
public final class TemplateErrorDetailDetailed information about a template rendering error.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringmessageprivate final IntegerlineNumberprivate final IntegerstartPositionprivate final StringfieldNameprivate final Stringseverity
-
Method Summary
Modifier and Type Method Description final StringgetMessage()The error message final IntegergetLineNumber()The line number where the error occurred (1-indexed), or null if unknown final IntegergetStartPosition()The character position where the error starts, or null if unknown final StringgetFieldName()The name of the field that caused the error, or null if unknown final StringgetSeverity()The severity level of the error (e.g. final Stringformat()Returns a formatted string representation of this error. -
-
Method Detail
-
getMessage
final String getMessage()
The error message
-
getLineNumber
final Integer getLineNumber()
The line number where the error occurred (1-indexed), or null if unknown
-
getStartPosition
final Integer getStartPosition()
The character position where the error starts, or null if unknown
-
getFieldName
final String getFieldName()
The name of the field that caused the error, or null if unknown
-
getSeverity
final String getSeverity()
The severity level of the error (e.g., "FATAL", "WARN")
-
-
-
-