Class ComponentValidationException

All Implemented Interfaces:
ValidationException.HasRelatedComponent, Serializable

public class ComponentValidationException extends ValidationException implements ValidationException.HasRelatedComponent
Represents a validation exception that is specifically related to a UI Component.

This exception is intended to be used in cases where a validation failure needs to be directly associated with a particular Component in the UI. It provides a reference to the associated component to facilitate handling or error reporting.

See Also:
  • Constructor Details

    • ComponentValidationException

      public ComponentValidationException(String message, com.vaadin.flow.component.Component component)
    • ComponentValidationException

      public ComponentValidationException(String message, com.vaadin.flow.component.Component component, Exception cause)
  • Method Details