public class LocalizedInternalServerErrorCallback extends Object implements ErrorHandlingCallback
ErrorHandlingCallback that localizes the internal server
error message| Constructor and Description |
|---|
LocalizedInternalServerErrorCallback(LocalizedMessageResolver localizedMessageResolver) |
| Modifier and Type | Method and Description |
|---|---|
void |
writeErrorResponse(Exchange exchange)
This method implements writing responses when errors are encountered.
|
public LocalizedInternalServerErrorCallback(LocalizedMessageResolver localizedMessageResolver)
public void writeErrorResponse(Exchange exchange) throws IOException
ErrorHandlingCallbackwriteErrorResponse in interface ErrorHandlingCallbackexchange - The exchange to read from and modify.IOException - Indicates when issues are encountered.Copyright 2023 Ping Identity Corp. All rights reserved.