[]
        
(Showing Draft Content)

DataValidationJsonError

Class DataValidationJsonError

java.lang.Object
com.grapecity.documents.excel.JsonError
com.grapecity.documents.excel.DataValidationJsonError

public class DataValidationJsonError extends JsonError
Represents the DataValidation error in the json.
  • 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

      public String getWorksheetName()
      Get the worksheet name.
    • getRange

      public String getRange()
      Get the range that own the DataValidation.
    • getErrorContent

      public String getErrorContent()
      Get the content of the error.