@Provider public class IllegalArgumentExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<IllegalArgumentException>
IllegalArgumentException
to a Response
.Constructor and Description |
---|
IllegalArgumentExceptionMapper() |
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 © 2021 Atlassian. All rights reserved.