public class ForbiddenException extends RuntimeException implements SanitizableException
| Constructor and Description |
|---|
ForbiddenException() |
ForbiddenException(String msg) |
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorMessage() |
ForbiddenException |
sanitize(Function<String,String> errorMessageTransformFunction) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ForbiddenException()
public ForbiddenException(String msg)
public String getErrorMessage()
public ForbiddenException sanitize(Function<String,String> errorMessageTransformFunction)
sanitize in interface SanitizableExceptionCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.