Package com.github.jknack.handlebars
Class HandlebarsError
- java.lang.Object
-
- com.github.jknack.handlebars.HandlebarsError
-
- All Implemented Interfaces:
java.io.Serializable
public class HandlebarsError extends java.lang.Object implements java.io.Serializable
Useful information about a handlebar error.- Since:
- 0.5.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description int
column
The error's column number.java.lang.String
evidence
The error's evidence.java.lang.String
filename
The file's name.int
line
The error's line number.java.lang.String
message
The full error's message.java.lang.String
reason
The error's problem.
-
Constructor Summary
Constructors Constructor Description HandlebarsError(java.lang.String filename, int line, int column, java.lang.String reason, java.lang.String evidence, java.lang.String message)
Creates a newHandlebarsError
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
-
-
Field Detail
-
line
public final int line
The error's line number.
-
column
public final int column
The error's column number.
-
reason
public final java.lang.String reason
The error's problem.
-
evidence
public final java.lang.String evidence
The error's evidence.
-
filename
public final java.lang.String filename
The file's name.
-
message
public final java.lang.String message
The full error's message.
-
-
Constructor Detail
-
HandlebarsError
public HandlebarsError(java.lang.String filename, int line, int column, java.lang.String reason, java.lang.String evidence, java.lang.String message)
Creates a newHandlebarsError
.- Parameters:
filename
- The file's name. Required.line
- The error's line number.column
- The error's column number.reason
- The error's reason. Required.evidence
- The error's evidence. Required.message
- The error's message. Required.
-
-