com.ibm.workplace.wcm.api.exceptions
Class MultipleDraftsExistException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.workplace.wcm.api.exceptions.WCMException
              extended by com.ibm.workplace.wcm.api.exceptions.DocumentDeleteException
                  extended by com.ibm.workplace.wcm.api.exceptions.DocumentDeleteReferentialIntegrityException
                      extended by com.ibm.workplace.wcm.api.exceptions.MarkForDeletionFailedException
                          extended by com.ibm.workplace.wcm.api.exceptions.MultipleDraftsExistException
All Implemented Interfaces:
Localized, java.io.Serializable

public class MultipleDraftsExistException
extends com.ibm.workplace.wcm.api.exceptions.MarkForDeletionFailedException

Gets thrown when a draft in a project is marked for deletion while there exists other drafts for the same published version.

Since:
8.0
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.workplace.wcm.api.exceptions.WCMException
ERR_APTRIX
 
Constructor Summary
MultipleDraftsExistException(Localized localizedMessage, java.lang.String p_uuid)
          Constructor that requires a localized message
MultipleDraftsExistException(java.lang.String p_uuid)
          Constructor
MultipleDraftsExistException(java.lang.String msg, java.lang.String p_uuid)
          Constructs a new exception with the given message.
MultipleDraftsExistException(java.lang.String detail, java.lang.Throwable cause, java.lang.String p_uuid)
          Constructor that requires detail plus a cause exception
 
Method Summary
 java.lang.String getPublishedId()
          get the Published Id
 
Methods inherited from class com.ibm.workplace.wcm.api.exceptions.WCMException
getCause, getDescription, getErrorCode, getLocales, getMessage, getMessage, getTitle, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ibm.portal.Localized
getDescription, getLocales, getTitle
 

Constructor Detail

MultipleDraftsExistException

public MultipleDraftsExistException(java.lang.String p_uuid)
Constructor

Parameters:
p_uuid - the published ID for which multiple drafts exist

MultipleDraftsExistException

public MultipleDraftsExistException(java.lang.String msg,
                                    java.lang.String p_uuid)
Constructs a new exception with the given message.

Parameters:
msg - the message
p_uuid - the published ID for which multiple drafts exist

MultipleDraftsExistException

public MultipleDraftsExistException(java.lang.String detail,
                                    java.lang.Throwable cause,
                                    java.lang.String p_uuid)
Constructor that requires detail plus a cause exception

Parameters:
detail - a message description extra information about the exception
cause - the exception that caused this exception
p_uuid - the published ID for which multiple drafts exist

MultipleDraftsExistException

public MultipleDraftsExistException(Localized localizedMessage,
                                    java.lang.String p_uuid)
Constructor that requires a localized message

Parameters:
localizedMessage - a localized message description extra information about the exception
p_uuid - the published ID for which multiple drafts exist
Method Detail

getPublishedId

public java.lang.String getPublishedId()
get the Published Id

Returns:
the published ID for which multiple drafts exist