| Package | Description |
|---|---|
| me.alidg.errors | |
| me.alidg.errors.adapter | |
| me.alidg.errors.fingerprint |
| Modifier and Type | Method and Description |
|---|---|
HttpError |
WebErrorHandlers.handle(Throwable originalException,
Object httpRequest,
Locale locale)
Given any
exception, first it would select an appropriate exception handler or
falls back to a default handler and then tries to handle the exception using the chosen
handler. |
| Modifier and Type | Method and Description |
|---|---|
String |
FingerprintProvider.generate(HttpError httpError)
Generates a hopefully unique fingerprint from the given
httpError. |
void |
WebErrorHandlerPostProcessor.process(HttpError error)
The logic to execute when we finished to handle the exception and just before returning the
result.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
HttpErrorAttributesAdapter.adapt(HttpError httpError)
|
Map<String,Object> |
DefaultHttpErrorAttributesAdapter.adapt(HttpError httpError)
|
| Modifier and Type | Method and Description |
|---|---|
String |
Md5FingerprintProvider.generate(HttpError httpError)
Generates a fingerprint based on the exception and the current timestamp.
|
String |
UuidFingerprintProvider.generate(HttpError httpError)
Generates a random UUID regardless of the given input.
|
Copyright © 2019. All rights reserved.