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