Class RawValidationError

    • Constructor Summary

      Constructors 
      Constructor Description
      RawValidationError​(java.io.Serializable errorMessage)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.Serializable getErrorMessage​(IErrorMessageSource messageSource)
      Retrieves the error message (usually user-facing).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RawValidationError

        public RawValidationError​(java.io.Serializable errorMessage)
        Constructor.
        Parameters:
        errorMessage - the custom error message that will be rendered by a custom FeedbackPanel
    • Method Detail

      • getErrorMessage

        public java.io.Serializable getErrorMessage​(IErrorMessageSource messageSource)
        Description copied from interface: IValidationError
        Retrieves the error message (usually user-facing).
        Specified by:
        getErrorMessage in interface IValidationError
        Parameters:
        messageSource - the message source
        Returns:
        the error message