public class CategorisingErrorHandler extends java.lang.Object implements ExceptionHandler
Modifier and Type | Class and Description |
---|---|
class |
CategorisingErrorHandler.Error |
class |
CategorisingErrorHandler.ErrorCategory |
Constructor and Description |
---|
CategorisingErrorHandler(int limit) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.util.Set<CategorisingErrorHandler.Error>> |
getErrors()
Returns a map of error category to a set of errors
|
void |
handleException(java.lang.Throwable ex)
Handles the exception
|
public void handleException(java.lang.Throwable ex) throws java.lang.RuntimeException
ExceptionHandler
handleException
in interface ExceptionHandler
java.lang.RuntimeException
- - if a limit is hitpublic java.util.Map<java.lang.String,java.util.Set<CategorisingErrorHandler.Error>> getErrors()