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