| Constructor and Description |
|---|
InternalExceptionMapper() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
toResponse(Throwable exception)
Logs and hides the internal DB error and wraps it in a SCIM-compliant error response.
|
ErrorResponse |
toScimError(Throwable exception) |
public javax.ws.rs.core.Response toResponse(Throwable exception)
toResponse in interface javax.ws.rs.ext.ExceptionMapper<Throwable>public ErrorResponse toScimError(Throwable exception)
Copyright © 2022 SAP SE. All rights reserved.