Class SecurityExceptionMapper
java.lang.Object
org.oxerr.commons.ws.rs.exceptionmapper.SecurityExceptionMapper
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<SecurityException>
@Provider
@Singleton
public class SecurityExceptionMapper
extends Object
implements javax.ws.rs.ext.ExceptionMapper<SecurityException>
Maps
SecurityException to Response.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsetoResponse(SecurityException exception)
-
Constructor Details
-
SecurityExceptionMapper
public SecurityExceptionMapper()
-
-
Method Details
-
toResponse
- Specified by:
toResponsein interfacejavax.ws.rs.ext.ExceptionMapper<SecurityException>
-