Class LocaliserErrorFactory
java.lang.Object
Localiser.algorithms.locErrors.json.LocaliserErrorFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic LocaliserError
getErrorFromJsonString
(String errorString) Take a JSON error string, identify teh correct type and unpack it into a LocaliserError object.
-
Constructor Details
-
LocaliserErrorFactory
public LocaliserErrorFactory()
-
-
Method Details
-
getErrorFromJsonString
Take a JSON error string, identify teh correct type and unpack it into a LocaliserError object.- Parameters:
errorString
- JSON error string- Returns:
- LocaliserError of the appropriate type or null
-