java.lang.Object
omix.plugin.io.util.MessageCollector
public class MessageCollector extends Object
This class collects messages.
- Since:
- Omix 1.3.11
- Author:
- Dr. Peter Droste, Omix Visualization
-
Constructor Summary
Constructors Constructor Description MessageCollector()
-
Method Summary
Modifier and Type Method Description void
addError(String error)
Adds an error message.void
addWarning(String warning)
Adds a warning.List<String>
getErrors()
Returns an unchangeable list of all occurring error messages.List<String>
getWarnings()
Returns an unchangeable list of all occurring warnings.
-
Constructor Details
-
MessageCollector
public MessageCollector()
-
-
Method Details
-
addError
Adds an error message.- Parameters:
error
-
-
addWarning
Adds a warning.- Parameters:
warning
-
-
getErrors
Returns an unchangeable list of all occurring error messages.- Returns:
- all errors
-
getWarnings
Returns an unchangeable list of all occurring warnings.- Returns:
- all warnings
-