[]
DataValidationJsonError, FormulaJsonErrorThis abstract class provides the common error message information shared by JSON error objects in GcExcel. Concrete subclasses expose additional context for specific JSON processing problems, such as formula errors or data validation errors.
Use this type as a general reference when working with APIs that report JSON import or serialization issues, and use getErrorMessage() to retrieve the descriptive error text.
JsonError error = new JsonError("Invalid formula") { };
String message = error.getErrorMessage();
JsonError object with the specified error message.Initializes the error message returned by getErrorMessage().
JsonError error = new JsonError("Invalid formula") { };
String message = error.getErrorMessage();
errorMessage - The error message. This value can be null.Use this method to retrieve the error text associated with a JSON import, deserialization, or serialization issue.
JsonError error = new JsonError("Invalid formula") { };
String message = error.getErrorMessage();
null if no message was provided when the error was created.