public interface ErrorResponseTransformStrategy
| Modifier and Type | Method and Description |
|---|---|
Function<String,String> |
getErrorMessageTransformFunction()
Return a function for checking and transforming the error message if needed.
|
default Exception |
transformIfNeeded(SanitizableException exception)
For a given
SanitizableException apply the transformation strategy and return the sanitized Exception
if the transformation stategy was applied. |
default Exception transformIfNeeded(SanitizableException exception)
SanitizableException apply the transformation strategy and return the sanitized Exception
if the transformation stategy was applied.Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.