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