org.granite.tide.ejb
Class EJBAccessExceptionConverter

java.lang.Object
  extended by org.granite.tide.ejb.EJBAccessExceptionConverter
All Implemented Interfaces:
org.granite.messaging.service.ExceptionConverter

public class EJBAccessExceptionConverter
extends Object
implements org.granite.messaging.service.ExceptionConverter

Author:
William DRAI

Field Summary
static String EJB_ACCESS
           
 
Constructor Summary
EJBAccessExceptionConverter()
           
 
Method Summary
 boolean accepts(Throwable t, Throwable finalException)
           
 org.granite.messaging.service.ServiceException convert(Throwable t, String detail, Map<String,Object> extendedData)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EJB_ACCESS

public static final String EJB_ACCESS
See Also:
Constant Field Values
Constructor Detail

EJBAccessExceptionConverter

public EJBAccessExceptionConverter()
Method Detail

accepts

public boolean accepts(Throwable t,
                       Throwable finalException)
Specified by:
accepts in interface org.granite.messaging.service.ExceptionConverter

convert

public org.granite.messaging.service.ServiceException convert(Throwable t,
                                                              String detail,
                                                              Map<String,Object> extendedData)
Specified by:
convert in interface org.granite.messaging.service.ExceptionConverter