public class MessagePostprocessingErrorReporter extends Object implements ErrorReporter
ErrorReporter
that post-processes the error message if it is null
by using the exception class name as
fallback.Constructor and Description |
---|
MessagePostprocessingErrorReporter(ErrorReporter delegate) |
Modifier and Type | Method and Description |
---|---|
void |
reportError(String message,
Exception e)
Report an error caused by a exception.
|
public MessagePostprocessingErrorReporter(ErrorReporter delegate)
public void reportError(String message, Exception e)
ErrorReporter
reportError
in interface ErrorReporter
message
- the messagee
- the exceptionCopyright © 2013–2023. All rights reserved.