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