org.hibernate.envers.exception
Class RevisionDoesNotExistException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.hibernate.HibernateException
                  extended by org.hibernate.envers.exception.AuditException
                      extended by org.hibernate.envers.exception.RevisionDoesNotExistException
All Implemented Interfaces:
Serializable

public class RevisionDoesNotExistException
extends AuditException

Author:
Adam Warski (adam at warski dot org)
See Also:
Serialized Form

Constructor Summary
RevisionDoesNotExistException(Date date)
           
RevisionDoesNotExistException(Number revision)
           
 
Method Summary
 Date getDate()
           
 Number getRevision()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RevisionDoesNotExistException

public RevisionDoesNotExistException(Number revision)

RevisionDoesNotExistException

public RevisionDoesNotExistException(Date date)
Method Detail

getRevision

public Number getRevision()

getDate

public Date getDate()


Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.