|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A class for aggregating exceptions thrown by JSAP's parsing process. This class is necessary as it is desirable to have information regarding ALL of the reasons for a failed parse rather than just the FIRST reason.
| Method Summary | |
void |
addException(String id,
Exception exception)
Adds the specified exception to the exception map. |
Exception |
getException(String id)
Returns the first exception associated with the specified parameter ID. |
Exception[] |
getExceptionArray(String id)
Returns an array of ALL exceptions associated with the specified parameter ID. |
| Method Detail |
public void addException(String id,
Exception exception)
id - the unique ID of the parameter with which the specified values
are associated.exception - the exception to associate with the specified key.public Exception getException(String id)
id - the unique ID of the parameter for which the first exception
is requested
public Exception[] getExceptionArray(String id)
id - the unique ID of the parameter for which the exceptions are
requested.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||