org.apache.slide.content
Class RevisionAlreadyExistException

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.RevisionAlreadyExistException
All Implemented Interfaces:
java.io.Serializable

public class RevisionAlreadyExistException
extends ContentException

Revision already exist.

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

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
RevisionAlreadyExistException(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, 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

RevisionAlreadyExistException

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

Parameters:
objectUri - Uri of the object
number - Revision number
Method Detail

getObjectUri

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

Returns:
String object Uri

getNumber

public NodeRevisionNumber getNumber()
Revision number accessor.

Returns:
NodeRevisionNumber