/** Called when a user has received a new form submission. */
public interface FormSubmissionListener {
- /** Called after a form submission has been stored in the user area. */
+ /**
+ * Called after a form submission has been stored in the user area. The
+ * submission will be deleted if any exception is thrown.
+ */
void formSubmissionReceived(Node node) throws RepositoryException;
}