## Uses of Class
javax.ws.rs.WebApplicationException

Packages that use WebApplicationException
com.sun.jersey.api | Provides support for responses and exceptions.
com.sun.jersey.api.core | Provides support for configuration.
com.sun.jersey.spi.container | Provides support for containers and the web application that manages resource classes.
javax.ws.rs.core | Low-level interfaces and annotations used to create RESTful service resources.
javax.ws.rs.ext | APIs that provide extensions to the types supported by the JAX-RS API.

Uses of WebApplicationException in com.sun.jersey.api

Subclasses of WebApplicationException in com.sun.jersey.api
`class` | `ConflictException` A HTTP 409 (Conflict) exception.
`class` | `NotFoundException` A HTTP 404 (Not Found) exception.
`class` | `ParamException` An abstract extension of `WebApplicationException` for the class of parameter-based exceptions.
`static class` | `ParamException.CookieParamException` A parameter exception for errors with `CookieParam`.
`static class` | `ParamException.FormParamException` A parameter exception for errors with `FormParam`.
`static class` | `ParamException.HeaderParamException` A parameter exception for errors with `HeaderParam`.
`static class` | `ParamException.MatrixParamException` A URI-parameter-based exception for errors with `MatrixParam`.
`static class` | `ParamException.PathParamException` A URI-parameter-based exception for errors with `PathParam`.
`static class` | `ParamException.QueryParamException` A URI-parameter-based exception for errors with `QueryParam`.
`static class` | `ParamException.URIParamException` An abstract parameter exception for the class of URI-parameter-based exceptions.

Uses of WebApplicationException in com.sun.jersey.api.core

Methods in com.sun.jersey.api.core that throw WebApplicationException

`

`<T> T`

`

`HttpRequestContext.getEntity(java.lang.Class<T> type)`
Get the request entity, returns null if the request does not contain an entity body.

`

`<T> T`

`

`HttpRequestContext.getEntity(java.lang.Class<T> type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] as)`
Get the request entity, returns null if the request does not contain an entity body.

Uses of WebApplicationException in com.sun.jersey.spi.container

Methods in com.sun.jersey.spi.container with parameters of type WebApplicationException
`void` | `ContainerResponse.mapWebApplicationException(WebApplicationException e)` Map a web application exception to a response.
`void` | `AdaptingContainerResponse.mapWebApplicationException(WebApplicationException e)`

Methods in com.sun.jersey.spi.container that throw WebApplicationException

`

`<T> T`

`

`AdaptingContainerRequest.getEntity(java.lang.Class<T> type)`

`

`<T> T`

`

`AdaptingContainerRequest.getEntity(java.lang.Class<T> type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] as)`

Uses of WebApplicationException in javax.ws.rs.core

Methods in javax.ws.rs.core that throw WebApplicationException
`void` | `StreamingOutput.write(java.io.OutputStream output)` Called to write the message body.

Uses of WebApplicationException in javax.ws.rs.ext

Methods in javax.ws.rs.ext that throw WebApplicationException
`T` | `MessageBodyReader.readFrom(java.lang.Class<T> type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, MediaType mediaType, MultivaluedMap<java.lang.String,java.lang.String> httpHeaders, java.io.InputStream entityStream)` Read a type from the `InputStream`.
`void` | `MessageBodyWriter.writeTo(T t, java.lang.Class<?> type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, MediaType mediaType, MultivaluedMap<java.lang.String,java.lang.Object> httpHeaders, java.io.OutputStream entityStream)` Write a type to an HTTP response.

Copyright © 2017 Oracle Corporation. All Rights Reserved.