org.jboss.resteasy.spi.UnauthorizedException Maven / Gradle / Ivy
The newest version!
package org.jboss.resteasy.spi;
import javax.ws.rs.core.Response;
/**
* Thrown by RESTEasy when HTTP Unauthorized (401) is encountered
*
* @deprecated Replaced by javax.ws.rs.NotAuthorizedException in jaxrs-api module.
*
* @see jaxrs-api
* @see javax.ws.rs.NotAuthorizedException
*/
@Deprecated
public class UnauthorizedException extends LoggableFailure
{
public UnauthorizedException()
{
super(401);
}
public UnauthorizedException(String s)
{
super(s, 401);
}
public UnauthorizedException(String s, Response response)
{
super(s, response);
}
public UnauthorizedException(String s, Throwable throwable, Response response)
{
super(s, throwable, response);
}
public UnauthorizedException(String s, Throwable throwable)
{
super(s, throwable, 401);
}
public UnauthorizedException(Throwable throwable)
{
super(throwable, 401);
}
public UnauthorizedException(Throwable throwable, Response response)
{
super(throwable, response);
}
}