Package org.jboss.resteasy.client.exception

## Class ResteasyNotAcceptableException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - javax.ws.rs.WebApplicationException
        - - javax.ws.rs.ClientErrorException
          - - javax.ws.rs.NotAcceptableException
            - - org.jboss.resteasy.client.exception.ResteasyNotAcceptableException

- All Implemented Interfaces:
    `Serializable`, `WebApplicationExceptionWrapper<javax.ws.rs.NotAcceptableException>`

      public class ResteasyNotAcceptableException
      extends javax.ws.rs.NotAcceptableException
      implements WebApplicationExceptionWrapper<javax.ws.rs.NotAcceptableException>

  Wraps a `NotAcceptableException` 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.NotAcceptableException` | `unwrap()` | Returns the original, unwrapped, exception.

    - ### Methods inherited from class javax.ws.rs.WebApplicationException

      `getResponse`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Method Detail

    - #### unwrap

          public javax.ws.rs.NotAcceptableException unwrap()

      Description copied from interface: `WebApplicationExceptionWrapper`
      Returns the original, unwrapped, exception.
      Specified by:
        `unwrap` in interface `WebApplicationExceptionWrapper<javax.ws.rs.NotAcceptableException>`
      Returns:
        the original exception