## Uses of Class
org.jboss.resteasy.spi.Failure

- Packages that use Failure
  Package | Description
  --- | ---
  org.jboss.resteasy.cdi |
  org.jboss.resteasy.core |
  org.jboss.resteasy.links.impl |
  org.jboss.resteasy.plugins.providers |
  org.jboss.resteasy.plugins.providers.jackson |
  org.jboss.resteasy.plugins.providers.jaxb |
  org.jboss.resteasy.security.doseta |
  org.jboss.resteasy.spi |

- - ### Uses of Failure in org.jboss.resteasy.cdi

    Methods in org.jboss.resteasy.cdi that throw Failure
    Modifier and Type | Method | Description
    --- | --- | ---
    `Object` | CdiConstructorInjector.`construct​(HttpRequest request, HttpResponse response, boolean unwrapAsync)` |
    `CompletionStage<Void>` | CdiPropertyInjector.`inject​(HttpRequest request, HttpResponse response, Object target, boolean unwrapAsync)` |
    `Object` | CdiConstructorInjector.`injectableArguments​(HttpRequest request, HttpResponse response, boolean unwrapAsync)` |

  - ### Uses of Failure in org.jboss.resteasy.core

    Subclasses of Failure in org.jboss.resteasy.core
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `NoMessageBodyWriterFoundFailure` |

    Methods in org.jboss.resteasy.core with parameters of type Failure
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected javax.ws.rs.core.Response` | ExceptionHandler.`handleFailure​(HttpRequest request, Failure failure)` |

    Methods in org.jboss.resteasy.core that throw Failure
    Modifier and Type | Method | Description
    --- | --- | ---
    `Object` | ConstructorInjectorImpl.`construct​(HttpRequest request, HttpResponse httpResponse, boolean unwrapAsync)` |
    `ResourceInvoker` | SynchronousDispatcher.`getInvoker​(HttpRequest request)` |
    `CompletionStage<Void>` | PropertyInjectorImpl.`inject​(HttpRequest request, HttpResponse response, Object target, boolean unwrapAsync)` |
    `CompletionStage<Void>` | ResourcePropertyInjector.`inject​(HttpRequest request, HttpResponse response, Object target, boolean unwrapAsync)` |
    `Object` | MethodInjectorImpl.`invoke​(HttpRequest request, HttpResponse httpResponse, Object resource)` |

  - ### Uses of Failure in org.jboss.resteasy.links.impl

    Subclasses of Failure in org.jboss.resteasy.links.impl
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `ServiceDiscoveryException` |

  - ### Uses of Failure in org.jboss.resteasy.plugins.providers

    Methods in org.jboss.resteasy.plugins.providers that throw Failure
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected abstract byte[]` | AbstractPatchMethodFilter.`applyPatch​(javax.ws.rs.container.ContainerRequestContext requestContext, byte[] targetJsonBytes)` |

  - ### Uses of Failure in org.jboss.resteasy.plugins.providers.jackson

    Methods in org.jboss.resteasy.plugins.providers.jackson that throw Failure
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected byte[]` | PatchMethodFilter.`applyPatch​(javax.ws.rs.container.ContainerRequestContext requestContext, byte[] targetJsonBytes)` |

  - ### Uses of Failure in org.jboss.resteasy.plugins.providers.jaxb

    Subclasses of Failure in org.jboss.resteasy.plugins.providers.jaxb
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `JAXBMarshalException` |
    `class` | `JAXBUnmarshalException` |

  - ### Uses of Failure in org.jboss.resteasy.security.doseta

    Subclasses of Failure in org.jboss.resteasy.security.doseta
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `UnauthorizedSignatureException` | Thrown by RESTEasy when HTTP Unauthorized (401) is encountered

  - ### Uses of Failure in org.jboss.resteasy.spi

    Subclasses of Failure in org.jboss.resteasy.spi
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `BadRequestException` | Deprecated. This class is deprecated use javax.ws.rs.BadRequestException
    `class` | `DefaultOptionsMethodException` | This exception is thrown when the client invokes HTTP OPTIONS operation and the JAX-RS resource does not have a Java method that supports OPTIONS.
    `class` | `InternalServerErrorException` | Thrown by RESTEasy when HTTP Internal Service Error (500) is encountered
    `class` | `LoggableFailure` | This exception should only be used by Resteasy integrators.
    `class` | `ReaderException` | Any exception thrown by a MessageBodyReader chain that is not an instance of a ReaderException is caught internally by the Resteasy runtime and wrapped with an instance of ReaderException.
    `class` | `WriterException` | Any exception thrown by a MessageBodyWriter chain that is not an instance of a WriterException is caught internally by the Resteasy runtime and wrapped with an instance of WriterException.

    Methods in org.jboss.resteasy.spi that throw Failure
    Modifier and Type | Method | Description
    --- | --- | ---
    `Object` | ConstructorInjector.`construct​(HttpRequest request, HttpResponse response, boolean unwrapAsync)` | Construct inside the scope of an HTTP request.
    `CompletionStage<Void>` | PropertyInjector.`inject​(HttpRequest request, HttpResponse response, Object target, boolean unwrapAsync)` | Inject values into annotated properties (fields/setter methods) of the target object.
    `Object` | ConstructorInjector.`injectableArguments​(HttpRequest request, HttpResponse response, boolean unwrapAsync)` | Create an argument list inside the scope of an HTTP request.
    `Object` | MethodInjector.`injectArguments​(HttpRequest request, HttpResponse response)` | Create the arguments that would be used to invoke the method in the context of an HTTP request.
    `Object` | MethodInjector.`invoke​(HttpRequest request, HttpResponse response, Object target)` | Invoke on a method in the context of an HTTP request.