public class NotFoundExceptionMapper extends AbstractResponseMapper<javax.ws.rs.NotFoundException>
Constructor and Description |
---|
NotFoundExceptionMapper() |
Modifier and Type | Method and Description |
---|---|
LogLevel |
getLogLevel(Throwable throwable) |
Class<javax.ws.rs.NotFoundException> |
getThrowableClass() |
ResponseWithErrorCode |
toResponse(Throwable throwable) |
getErrorMessage
public Class<javax.ws.rs.NotFoundException> getThrowableClass()
public ResponseWithErrorCode toResponse(Throwable throwable)
public LogLevel getLogLevel(Throwable throwable)
getLogLevel
in interface ResponseMapper<javax.ws.rs.NotFoundException>
getLogLevel
in class AbstractResponseMapper<javax.ws.rs.NotFoundException>
Throwable
. Returning null
indicates the response
builder to use its default behavior.Copyright © 2017 SAP SE. All rights reserved.