Class Grid.CommitErrorEvent

    • Method Detail

      • getCause

        public FieldGroup.CommitException getCause()
        Deprecated.
        Retrieves the cause of the failure.
        Returns:
        the cause of the failure
      • isValidationFailure

        public boolean isValidationFailure()
        Deprecated.
        Checks if validation exceptions caused this error.
        Returns:
        true if the problem was caused by a validation error
      • addErrorColumn

        public void addErrorColumn​(Grid.Column column)
        Deprecated.
        Marks that an error indicator should be shown for the editor of a column.
        Parameters:
        column - the column to show an error for
      • getErrorColumns

        public Collection<Grid.Column> getErrorColumns()
        Deprecated.
        Gets all the columns that have been marked as erroneous.
        Returns:
        an umodifiable collection of erroneous columns
      • getUserErrorMessage

        public String getUserErrorMessage()
        Deprecated.
        Gets the error message to show to the user.
        Returns:
        error message to show
      • setUserErrorMessage

        public void setUserErrorMessage​(String userErrorMessage)
        Deprecated.
        Sets the error message to show to the user.
        Parameters:
        userErrorMessage - the user error message to set