org.granite.messaging.service
Interface ExceptionConverter

All Known Implementing Classes:
EJBAccessExceptionConverter, PersistenceExceptionConverter

public interface ExceptionConverter


Method Summary
 boolean accepts(Throwable t, Throwable finalException)
           
 ServiceException convert(Throwable t, String detail, Map<String,Object> extendedData)
           
 

Method Detail

accepts

boolean accepts(Throwable t,
                Throwable finalException)

convert

ServiceException convert(Throwable t,
                         String detail,
                         Map<String,Object> extendedData)