|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.dbforms.config.ValidationException
org.dbforms.config.MultipleValidationException
public class MultipleValidationException
This exception may be thrown by user code in classes implementing the interceptor interface Allows developers to define more then one error - to be used in conjunction with the XML errors mechanism
| Constructor Summary | |
|---|---|
MultipleValidationException(String message)
Creates a new MultipleValidationException object. |
|
MultipleValidationException(Vector messages)
Creates a new MultipleValidationException object. |
|
| Method Summary | |
|---|---|
void |
addMessage(String message)
DOCUMENT ME! |
String |
getMessage()
Returns the detail message string of this throwable. |
Vector |
getMessages()
Gets the messages |
void |
setMessages(Vector messages)
Sets the messages |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, 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 |
|---|
public MultipleValidationException(String message)
message - DOCUMENT ME!public MultipleValidationException(Vector messages)
messages - DOCUMENT ME!| Method Detail |
|---|
public String getMessage()
getMessage method of the
Throwable class. toString method calls
getLocalizedMessage() to get the string representation of
the detaile error message. The original
getLocalizedMessage() implementation calls
getMessage(). getMessage to get the multiple messages from
this exception class let Log4j category classes log all the error
messages. (fossato, 2002.11.29)
getMessage in class Throwablepublic void setMessages(Vector messages)
messages - The messages to setpublic Vector getMessages()
public void addMessage(String message)
message - DOCUMENT ME!
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||