com.opensymphony.util
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Field Summary | |
|---|---|
protected List |
errors
List used internally to store Strings of error messages. |
| Constructor Summary | |
|---|---|
MultipartException()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
add(String msg)
Add an error message to the Exception. |
void |
add(Throwable exception)
Add an Exception's error message to the Exception. |
String[] |
getArray()
Return error msgs as String array. |
Iterator |
getIterator()
Return Iterator of String error msgs. |
List |
getList()
Return error msgs as List of Strings. |
boolean |
hasErrors()
Check whether any errors have been added. |
Iterator |
list()
Deprecated. Use getIterator() instead. |
| 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 |
| Field Detail |
|---|
protected List errors
| Constructor Detail |
|---|
public MultipartException()
| Method Detail |
|---|
public String[] getArray()
public Iterator getIterator()
public List getList()
public void add(String msg)
msg - Error message.public void add(Throwable exception)
exception - Exception of which getMessage() is called to add the message.public boolean hasErrors()
public Iterator list()
String representations of error message.
|
OSCore Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||