public class RawValidationError extends Object implements IValidationError
Component.error(java.io.Serializable)
,
Session.error(java.io.Serializable)
,
FeedbackPanel
,
Serialized FormConstructor and Description |
---|
RawValidationError(Serializable errorMessage)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Serializable |
getErrorMessage(IErrorMessageSource messageSource)
Retrieves the error message (usually user-facing).
|
public RawValidationError(Serializable errorMessage)
errorMessage
- the custom error message that will be rendered by a custom FeedbackPanelpublic Serializable getErrorMessage(IErrorMessageSource messageSource)
IValidationError
getErrorMessage
in interface IValidationError
messageSource
- the message sourceCopyright © 2006–2022 Apache Software Foundation. All rights reserved.