org.apache.slide.content
Class RevisionNotFoundException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.apache.slide.common.SlideException
                    |
                    +--org.apache.slide.content.ContentException
                          |
                          +--org.apache.slide.content.RevisionNotFoundException
All Implemented Interfaces:
java.io.Serializable

public class RevisionNotFoundException
extends ContentException

Revision not found.

Version:
$Revision: 1.2 $
Author:
Remy Maucherat
See Also:
Serialized Form

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, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, 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
id - Id 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