@Provider public class BadRequestExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<org.jboss.resteasy.spi.BadRequestException>
This mapper let us reply to the user with a pre-determined message format if, for example, a ParamConverter throws an IllegalArgumentException.
| Constructor and Description |
|---|
BadRequestExceptionMapper() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
toResponse(org.jboss.resteasy.spi.BadRequestException exception) |
Copyright © 2014–2016 Red Hat, Inc.. All rights reserved.