public interface ExceptionMap
Modifier and Type | Method and Description |
---|---|
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.
|
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.Exception getException(String id)
id
- the unique ID of the parameter for which the first exception
is requestedException[] getExceptionArray(String id)
id
- the unique ID of the parameter for which the exceptions are
requested.Copyright © 2015. All rights reserved.