|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vaadin.server.AbstractErrorMessage
com.vaadin.server.CompositeErrorMessage
public class CompositeErrorMessage
Class for combining multiple error messages together.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.vaadin.server.AbstractErrorMessage |
---|
AbstractErrorMessage.ContentMode |
Nested classes/interfaces inherited from interface com.vaadin.server.ErrorMessage |
---|
ErrorMessage.ErrorLevel |
Field Summary |
---|
Fields inherited from interface com.vaadin.server.ErrorMessage |
---|
CRITICAL, ERROR, INFORMATION, SYSTEMERROR, WARNING |
Constructor Summary | |
---|---|
CompositeErrorMessage(java.util.Collection<? extends ErrorMessage> errorMessages)
Constructor for CompositeErrorMessage. |
|
CompositeErrorMessage(ErrorMessage... errorMessages)
Constructor for CompositeErrorMessage. |
Method Summary | |
---|---|
java.util.Iterator<ErrorMessage> |
iterator()
Gets Error Iterator. |
java.lang.String |
toString()
Returns a comma separated list of the error messages. |
Methods inherited from class com.vaadin.server.AbstractErrorMessage |
---|
addCause, getCauses, getErrorLevel, getErrorMessageForException, getFormattedHtmlMessage, getMessage, getMode, setErrorLevel, setMessage, setMode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CompositeErrorMessage(ErrorMessage... errorMessages)
errorMessages
- the array of error messages that are listed together. Nulls
are ignored, but at least one message is required.public CompositeErrorMessage(java.util.Collection<? extends ErrorMessage> errorMessages)
errorMessages
- the Collection of error messages that are listed together. At
least one message is required.Method Detail |
---|
public java.util.Iterator<ErrorMessage> iterator()
public java.lang.String toString()
toString
in class AbstractErrorMessage
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |