org.hibernate.envers.exception.NotAuditedException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-envers Show documentation
Show all versions of hibernate-envers Show documentation
Hibernate's entity version (audit/history) support
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or .
*/
package org.hibernate.envers.exception;
/**
* @author Adam Warski (adam at warski dot org)
*/
public class NotAuditedException extends AuditException {
private static final long serialVersionUID = 4809674577449455510L;
private final String entityName;
public NotAuditedException(String entityName, String message) {
super( message );
this.entityName = entityName;
}
public String getEntityName() {
return entityName;
}
}