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