}
Class<?> exClass = e.getClass();
if (exClass.isAnnotationPresent(SeamApplicationException.class))
{
SeamApplicationException sae = exClass.getAnnotation(SeamApplicationException.class);
return sae.rollback();
}
else if (exClass.isAnnotationPresent(EjbApi.APPLICATION_EXCEPTION))
{
Object ae = exClass.getAnnotation(EjbApi.APPLICATION_EXCEPTION);
try