@Provider public class NotFoundExceptionMapper extends Object implements ExceptionMapper<CustomNotFoundException>
CustomNotFoundException is thrown.| Constructor and Description |
|---|
NotFoundExceptionMapper() |
| Modifier and Type | Method and Description |
|---|---|
Response |
toResponse(CustomNotFoundException exception) |
public Response toResponse(CustomNotFoundException exception)
toResponse in interface ExceptionMapper<CustomNotFoundException>Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.