Class FormFieldValidationException

  • All Implemented Interfaces:
    java.io.Serializable

    public class FormFieldValidationException
    extends FormException
    Runtime exception for use within a FormFieldValidator. Optionally contains a detail which uniquely identifies the problem.
    Author:
    Thomas Skjolberg
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Object detail
      optional object for detailing the nature of the validation error
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> T getDetail()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • detail

        protected java.lang.Object detail
        optional object for detailing the nature of the validation error
    • Constructor Detail

      • FormFieldValidationException

        public FormFieldValidationException()
      • FormFieldValidationException

        public FormFieldValidationException​(java.lang.Object detail)
      • FormFieldValidationException

        public FormFieldValidationException​(java.lang.Object detail,
                                            java.lang.String message,
                                            java.lang.Throwable cause)
      • FormFieldValidationException

        public FormFieldValidationException​(java.lang.Object detail,
                                            java.lang.String message)
      • FormFieldValidationException

        public FormFieldValidationException​(java.lang.Object detail,
                                            java.lang.Throwable cause)
    • Method Detail

      • getDetail

        public <T> T getDetail()