Class LineError

java.lang.Object
com.broadleafcommerce.dataimport.service.LineError

public final class LineError extends Object
Describes a static validation error for a line in an import file.
Author:
Samarth Dhruva (samarthd)
See Also:
  • Constructor Details

    • LineError

      public LineError(long lineNumber, String message)
  • Method Details

    • getLineNumber

      public long getLineNumber()
      The line number in the file which experienced the error.
    • getMessage

      public String getMessage()
      The error that was found with the line at lineNumber in the file.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object