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<jakarta.ws.rs.BadRequestException>
public class ResteasyBadRequestException
extends jakarta.ws.rs.BadRequestException
implements WebApplicationExceptionWrapper<jakarta.ws.rs.BadRequestException>
Wraps a
BadRequestException with a sanitized response.- Author:
- James R. Perkins
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.BadRequestExceptionunwrap()Returns the original, unwrapped, exception.Methods inherited from class jakarta.ws.rs.WebApplicationException
getResponseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
unwrap
public jakarta.ws.rs.BadRequestException unwrap()Description copied from interface:WebApplicationExceptionWrapperReturns the original, unwrapped, exception.- Specified by:
unwrapin interfaceWebApplicationExceptionWrapper<jakarta.ws.rs.BadRequestException>- Returns:
- the original exception
-