java.lang.Object
org.apache.wicket.validation.RawValidationError
- All Implemented Interfaces:
Serializable
,IClusterable
,IValidationError
An IValidationError implementation that just keeps a Serializable
error message. Use it with a custom FeedbackPanel implementation
that knows how to render such error message.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetErrorMessage
(IErrorMessageSource messageSource) Retrieves the error message (usually user-facing).
-
Constructor Details
-
RawValidationError
Constructor.- Parameters:
errorMessage
- the custom error message that will be rendered by a custom FeedbackPanel
-
-
Method Details
-
getErrorMessage
Description copied from interface:IValidationError
Retrieves the error message (usually user-facing).- Specified by:
getErrorMessage
in interfaceIValidationError
- Parameters:
messageSource
- the message source- Returns:
- the error message
-