org.granite.tide.ejb
Class EJBAccessExceptionConverter

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

public class EJBAccessExceptionConverter
extends Object
implements ExceptionConverter

Author:
William DRAI

Field Summary
static String EJB_ACCESS
           
 
Constructor Summary
EJBAccessExceptionConverter()
           
 
Method Summary
 boolean accepts(Throwable t, Throwable finalException)
           
 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 ExceptionConverter

convert

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