org.apache.slide.content
Class RevisionNotFoundException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.slide.common.SlideException
              extended byorg.apache.slide.content.ContentException
                  extended byorg.apache.slide.content.RevisionNotFoundException
All Implemented Interfaces:
java.io.Serializable

public class RevisionNotFoundException
extends ContentException

Revision not found.

Version:
$Revision: 1.7 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
RevisionNotFoundException(java.lang.String objectUri, NodeRevisionNumber number)
          Constructor.
 
Method Summary
 NodeRevisionNumber getNumber()
          Revision Id accessor.
 java.lang.String getObjectUri()
          Object Uri accessor.
 
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

RevisionNotFoundException

public RevisionNotFoundException(java.lang.String objectUri,
                                 NodeRevisionNumber number)
Constructor.

Parameters:
objectUri - Uri of the object
number - Number of the revision
Method Detail

getObjectUri

public java.lang.String getObjectUri()
Object Uri accessor.

Returns:
String object Uri

getNumber

public NodeRevisionNumber getNumber()
Revision Id accessor.

Returns:
NodeRevisionNumber