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