Class WebClientApplicationException

  • All Implemented Interfaces:
    Serializable

    public class WebClientApplicationException
    extends javax.ws.rs.WebApplicationException
    Subclass of WebApplicationException for use by clients, which forbids setting a response that would be used by the server. FIXME: I'd rather this be disjoint from WebApplicationException, so we could store the response info for client usage. Perhaps we can store it in an alternate field?
    See Also:
    Serialized Form
    • Constructor Detail

      • WebClientApplicationException

        public WebClientApplicationException()
      • WebClientApplicationException

        public WebClientApplicationException​(String reason)
    • Method Detail

      • getResponse

        public final javax.ws.rs.core.Response getResponse()
        Overrides:
        getResponse in class javax.ws.rs.WebApplicationException