/**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.util.rest;
import javax.ws.rs.ext.Provider;
import com.sun.jersey.api.client.ClientResponse;
import com.sun.jersey.api.client.UniformInterfaceException;
/**
* An extension to {@code UniformInterfaceException} to represent a 404.
* <p>
* This allows catch clauses to be simpler.
*/
@Provider
public class UniformInterfaceException204NoContent extends UniformInterfaceException {
/** Serialization version. */
private static final long serialVersionUID = -8266318713789190845L;
public UniformInterfaceException204NoContent(ClientResponse response, boolean bufferResponseEntity) {
super(response, bufferResponseEntity);
}
public UniformInterfaceException204NoContent(ClientResponse response) {
super(response);
}
public UniformInterfaceException204NoContent(String message, ClientResponse response, boolean bufferResponseEntity) {
super(message, response, bufferResponseEntity);
}
public UniformInterfaceException204NoContent(String message, ClientResponse response) {
super(message, response);
}
}