Package org.everrest.sample.guice
Class BookNotFoundExceptionMapper
- java.lang.Object
-
- org.everrest.sample.guice.BookNotFoundExceptionMapper
-
- All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<BookNotFoundException>
@Provider public class BookNotFoundExceptionMapper extends Object implements jakarta.ws.rs.ext.ExceptionMapper<BookNotFoundException>
- Author:
- andrew00x
-
-
Constructor Summary
Constructors Constructor Description BookNotFoundExceptionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.ws.rs.core.ResponsetoResponse(BookNotFoundException exception)
-
-
-
Method Detail
-
toResponse
public jakarta.ws.rs.core.Response toResponse(BookNotFoundException exception)
- Specified by:
toResponsein interfacejakarta.ws.rs.ext.ExceptionMapper<BookNotFoundException>
-
-