Class ResteasyBadRequestException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.ws.rs.WebApplicationException
-
- javax.ws.rs.ClientErrorException
-
- javax.ws.rs.BadRequestException
-
- org.jboss.resteasy.client.exception.ResteasyBadRequestException
-
- All Implemented Interfaces:
Serializable
,WebApplicationExceptionWrapper<javax.ws.rs.BadRequestException>
public class ResteasyBadRequestException extends javax.ws.rs.BadRequestException implements WebApplicationExceptionWrapper<javax.ws.rs.BadRequestException>
Wraps aBadRequestException
with a sanitized response.- Author:
- James R. Perkins
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.BadRequestException
unwrap()
Returns the original, unwrapped, exception.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
unwrap
public javax.ws.rs.BadRequestException unwrap()
Description copied from interface:WebApplicationExceptionWrapper
Returns the original, unwrapped, exception.- Specified by:
unwrap
in interfaceWebApplicationExceptionWrapper<javax.ws.rs.BadRequestException>
- Returns:
- the original exception
-
-