|
|||||||||
| Home >> All >> com >> sample >> jsp >> [ validation overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.sample.jsp.validation
Class SampleErrorHandler

java.lang.Objectcom.sample.jsp.validation.SampleErrorHandler
- public class SampleErrorHandler
- extends java.lang.Object
A sample error handler class for managing validation failures.
| Field Summary | |
private com.aendvari.common.notices.Notices |
errors
A com.aendvari.common.notices.Notice instance for holding all notices for later retrieval. |
| Constructor Summary | |
SampleErrorHandler()
|
|
| Method Summary | |
void |
addError(java.lang.String propertyName,
java.lang.String propertyValue,
java.lang.String resourceKey)
Adds an error to the messages list. |
com.aendvari.common.notices.Notices |
getErrorMessages()
Retrieve the error messages. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
errors
private com.aendvari.common.notices.Notices errors
- A com.aendvari.common.notices.Notice instance for holding all notices for later retrieval.
| Constructor Detail |
SampleErrorHandler
public SampleErrorHandler()
| Method Detail |
addError
public void addError(java.lang.String propertyName, java.lang.String propertyValue, java.lang.String resourceKey) throws java.lang.Exception
- Adds an error to the messages list.
getErrorMessages
public com.aendvari.common.notices.Notices getErrorMessages()
- Retrieve the error messages.
|
|||||||||
| Home >> All >> com >> sample >> jsp >> [ validation overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.sample.jsp.validation.SampleErrorHandler