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
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
toResponse
(SecurityException exception)
-
Constructor Details
-
SecurityExceptionMapper
public SecurityExceptionMapper()
-
-
Method Details
-
toResponse
- Specified by:
toResponse
in interfacejavax.ws.rs.ext.ExceptionMapper<SecurityException>
-