getMailetContext().log("Executing action: " + action.toString());
try {
ActionDispatcher.getInstance().execute(action, getMail(),
getMailetContext());
} catch (NoSuchMethodException e) {
throw new SieveException(e.getMessage());
} catch (IllegalAccessException e) {
throw new SieveException(e.getMessage());
} catch (InvocationTargetException e) {
throw new SieveException(e.getMessage());
} catch (MessagingException e) {
throw new SieveException(e.getMessage());
}
}
}