All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.resteasy.spi.NotFoundException Maven / Gradle / Ivy

The newest version!
package org.jboss.resteasy.spi;

import javax.ws.rs.core.Response;

/**
 * Thrown by RESTEasy when HTTP Not Found (404) is encountered
 *
 * JAX-RS now has this exception
 * 
 * @deprecated Replaced by javax.ws.rs.NotFoundException in jaxrs-api module.
 * 
 * @see jaxrs-api
 * @see javax.ws.rs.NotFoundException
 */
@Deprecated
public class NotFoundException extends Failure
{

   public NotFoundException(String s)
   {
      super(s, 404);
   }

   public NotFoundException(String s, Response response)
   {
      super(s, response);
   }

   public NotFoundException(String s, Throwable throwable, Response response)
   {
      super(s, throwable, response);
   }

   public NotFoundException(String s, Throwable throwable)
   {
      super(s, throwable, 404);
   }

   public NotFoundException(Throwable throwable)
   {
      super(throwable, 404);
   }

   public NotFoundException(Throwable throwable, Response response)
   {
      super(throwable, response);
   }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy