add method
Adds a single ExitCodeExceptionHandler for a given exception
.
Example:
generators.add(MyException(), MyMapper());
Implementation
void add(Throwable exception, ExitCodeExceptionHandler mapper) {
addGenerator(_MappedExitCodeGenerator(exception, mapper));
}