org.apache.slide.content
Class RevisionContentNotFoundException

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

public class RevisionContentNotFoundException
extends ContentException

Revision content not found.

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

Constructor Summary
RevisionContentNotFoundException(java.lang.String objectUri, NodeRevisionNumber number)
          Constructor.
 
Method Summary
 NodeRevisionNumber getNumber()
          Revision number 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

RevisionContentNotFoundException

public RevisionContentNotFoundException(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 number accessor.
Returns:
NodeRevisionNumber