Creating a generic envers exception
This commit is contained in:
parent
46660fd045
commit
188ec620e8
|
@ -0,0 +1,23 @@
|
|||
package org.hibernate.envers.exception;
|
||||
|
||||
import org.hibernate.HibernateException;
|
||||
|
||||
/**
|
||||
* @author Hernán Chanfreau
|
||||
*/
|
||||
public class EnversException extends HibernateException {
|
||||
|
||||
private static final long serialVersionUID = 7117102779944317920L;
|
||||
|
||||
public EnversException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public EnversException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
public EnversException(Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue