Class ErrorJsonConverter

java.lang.Object
generalDatabase.JsonConverter
Localiser.algorithms.locErrors.json.ErrorJsonConverter
Direct Known Subclasses:
EllipseJsonConverter, SimpleErrorJsonConverter

public abstract class ErrorJsonConverter extends JsonConverter
  • Constructor Details

    • ErrorJsonConverter

      public ErrorJsonConverter()
  • Method Details

    • getJsonString

      public abstract String getJsonString(LocaliserError localiserError)
      Create a standard xml like string of the error data which can be written to the relational database.
      Returns:
      Error information in an XML like format.
    • createError

      public abstract LocaliserError createError(String jsonString)
    • getErrorName

      public abstract String getErrorName()