@Provider public class NotFoundExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<javax.ws.rs.NotFoundException>
This mapper let us reply to the user with a pre-determined message format if, for example, receive a request for unavailable resource.
| Constructor and Description |
|---|
NotFoundExceptionMapper() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
toResponse(javax.ws.rs.NotFoundException exception) |
Copyright © 2014–2017 Red Hat, Inc.. All rights reserved.