com.sapportals.wcm.repository

Class ExpectedCheckInRIDException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.sapportals.wcm.WcmException
              extended bycom.sapportals.wcm.util.content.ContentException
                  extended bycom.sapportals.wcm.repository.ResourceException
                      extended bycom.sapportals.wcm.repository.ExpectedCheckInRIDException
All Implemented Interfaces:
Serializable

public class ExpectedCheckInRIDException
extends ResourceException

The RID of the new revision is different from the RID that the application expected when checking out.

Copyright (c) SAP AG 2002-2004

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sapportals.wcm.WcmException
ex
 
Constructor Summary
ExpectedCheckInRIDException(RID resourceID, RID newRID)
          Constructs a new exception
 
Method Summary
 RID getNewExpectedCheckInRID()
          Returns the expected check-in RID
 void setNewExpectedCheckInRIDException(RID newRID)
          Sets the expected check-in RID
 
Methods inherited from class com.sapportals.wcm.repository.ResourceException
fillInStackTrace, getLocalizedMessage, getMessage, getNextResourceException, getResourceID, getRID, printStackTrace, printStackTrace, printStackTrace, setNextResourceException, toString
 
Methods inherited from class com.sapportals.wcm.WcmException
getContainedException, isLogged, setContainedException
 
Methods inherited from class java.lang.Throwable
getCause, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExpectedCheckInRIDException

public ExpectedCheckInRIDException(RID resourceID,
                                   RID newRID)
Constructs a new exception

Parameters:
resourceID - The ID of the resource the exception belongs to
Method Detail

getNewExpectedCheckInRID

public RID getNewExpectedCheckInRID()
Returns the expected check-in RID

Returns:
the expected check-in RID

setNewExpectedCheckInRIDException

public void setNewExpectedCheckInRIDException(RID newRID)
Sets the expected check-in RID

Parameters:
newRID - newExpectedCheckInRIDException to be set


Copyright 2006 SAP AG Complete Copyright Notice