aerogear-security 1.3.1

org.jboss.aerogear.security.exception
Class HttpExceptionMapper

java.lang.Object
  extended by org.jboss.aerogear.security.exception.HttpExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<javax.ejb.EJBException>

@Provider
public class HttpExceptionMapper
extends Object
implements javax.ws.rs.ext.ExceptionMapper<javax.ejb.EJBException>

Maps for security exceptions


Constructor Summary
HttpExceptionMapper()
           
 
Method Summary
 javax.ws.rs.core.Response toResponse(javax.ejb.EJBException exception)
          Exception mapping
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpExceptionMapper

public HttpExceptionMapper()
Method Detail

toResponse

public javax.ws.rs.core.Response toResponse(javax.ejb.EJBException exception)
Exception mapping

Specified by:
toResponse in interface javax.ws.rs.ext.ExceptionMapper<javax.ejb.EJBException>
Parameters:
exception -
Returns:
HTTP response

aerogear-security 1.3.1

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.