com.irisel.sv.rest.exception
Class UnathorizedExceptionMapper

java.lang.Object
  extended by com.irisel.sv.rest.exception.UnathorizedExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<org.jboss.resteasy.spi.NoLogWebApplicationException>

@Provider
public class UnathorizedExceptionMapper
extends java.lang.Object
implements javax.ws.rs.ext.ExceptionMapper<org.jboss.resteasy.spi.NoLogWebApplicationException>


Constructor Summary
UnathorizedExceptionMapper()
           
 
Method Summary
 javax.ws.rs.core.Response toResponse(org.jboss.resteasy.spi.NoLogWebApplicationException exception)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnathorizedExceptionMapper

public UnathorizedExceptionMapper()
Method Detail

toResponse

public javax.ws.rs.core.Response toResponse(org.jboss.resteasy.spi.NoLogWebApplicationException exception)
Specified by:
toResponse in interface javax.ws.rs.ext.ExceptionMapper<org.jboss.resteasy.spi.NoLogWebApplicationException>