Package com.grapecity.documents.excel
Class DataValidationJsonError
java.lang.Object
com.grapecity.documents.excel.JsonError
com.grapecity.documents.excel.DataValidationJsonError
Represents the DataValidation error in the json.
-
Constructor Summary
ConstructorsConstructorDescriptionDataValidationJsonError(String errorMessage, String worksheetName, String range, String errorContent) Constructs a new DataValidationJsonError object with the specified error message, worksheet name, range, and error content. -
Method Summary
Modifier and TypeMethodDescriptionGet the content of the error.getRange()Get the range that own the DataValidation.Get the worksheet name.Methods inherited from class com.grapecity.documents.excel.JsonError
getErrorMessage
-
Constructor Details
-
DataValidationJsonError
public DataValidationJsonError(String errorMessage, String worksheetName, String range, String errorContent) Constructs a new DataValidationJsonError object with the specified error message, worksheet name, range, and error content.- Parameters:
errorMessage- The error message associated with the data validation error.worksheetName- The name of the worksheet where the data validation error occurred.range- The range of cells affected by the data validation error.errorContent- The content of the data validation error.
-
-
Method Details
-
getWorksheetName
Get the worksheet name. -
getRange
Get the range that own the DataValidation. -
getErrorContent
Get the content of the error.
-