IndexingException.java
448 Bytes
package org.legrog.entities;
import javax.ejb.ApplicationException;
/*
Exception when indexing fails, whatever the reason. Has to be dealt with at service level.
*/
@ApplicationException(rollback = true)
public class IndexingException extends Exception {
Throwable rootCause;
IndexingException(Throwable rootCause) {
this.rootCause = rootCause;
}
public Throwable getRootCause() {
return rootCause;
}
}