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