Class 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 new HandlebarsError.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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 new HandlebarsError.
        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.
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object