org.liquidsite.core.web
Class FormValidationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.liquidsite.core.web.FormValidationException
All Implemented Interfaces:
java.io.Serializable

public class FormValidationException
extends java.lang.Exception

A form validation exception. This exception is thrown when an error is encountered while validating form input.

See Also:
Serialized Form

Constructor Summary
FormValidationException(java.lang.String field, java.lang.String message)
          Creates a new form validation exception.
 
Method Summary
 java.lang.String getField()
          Returns the field name.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FormValidationException

public FormValidationException(java.lang.String field,
                               java.lang.String message)
Creates a new form validation exception.

Parameters:
field - the field name
message - the error message
Method Detail

getField

public java.lang.String getField()
Returns the field name.

Returns:
the field name