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