| Package | Description |
|---|---|
| com.vaadin.server | |
| com.vaadin.ui |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractErrorMessage
Base class for component error messages.
|
class |
CompositeErrorMessage
Class for combining multiple error messages together.
|
class |
SystemError
SystemError is an error message for a problem caused by error in
system, not the user application code. |
class |
UserError
UserError is a controlled error occurred in application. |
| Modifier and Type | Method and Description |
|---|---|
static ErrorMessage |
AbstractErrorMessage.getErrorMessageForException(Throwable t) |
| Modifier and Type | Method and Description |
|---|---|
protected List<ErrorMessage> |
AbstractErrorMessage.getCauses() |
Iterator<ErrorMessage> |
CompositeErrorMessage.iterator()
Gets Error Iterator.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractErrorMessage.addCause(ErrorMessage cause) |
| Constructor and Description |
|---|
CompositeErrorMessage(ErrorMessage... errorMessages)
Constructor for CompositeErrorMessage.
|
| Constructor and Description |
|---|
CompositeErrorMessage(Collection<? extends ErrorMessage> errorMessages)
Constructor for CompositeErrorMessage.
|
| Modifier and Type | Method and Description |
|---|---|
ErrorMessage |
TabSheet.Tab.getComponentError()
Gets the current error message shown for the tab.
|
ErrorMessage |
TabSheet.TabSheetTabImpl.getComponentError() |
ErrorMessage |
AbstractComponent.getComponentError()
Gets the component's error message.
|
ErrorMessage |
Form.getErrorMessage()
Deprecated.
The error message of a Form is the error of the first field with a
non-empty error.
|
ErrorMessage |
Component.ErrorEvent.getErrorMessage()
Gets the error message.
|
ErrorMessage |
AbstractField.getErrorMessage()
Error messages shown by the fields are composites of the error message
thrown by the superclasses (that is the component error message),
validation errors and buffered source errors.
|
ErrorMessage |
AbstractComponent.getErrorMessage()
Gets the error message for this component.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TabSheet.Tab.setComponentError(ErrorMessage componentError)
Sets an error indicator to be shown in the tab.
|
void |
TabSheet.TabSheetTabImpl.setComponentError(ErrorMessage componentError) |
void |
AbstractComponent.setComponentError(ErrorMessage componentError)
Sets the component's error message.
|
| Constructor and Description |
|---|
ErrorEvent(ErrorMessage message,
Component component)
Constructs a new event with a specified source component.
|
Copyright © 2023 Vaadin Ltd. All rights reserved.