com.ibm.workplace.wcm.api.exceptions
Class MultipleDraftsExistException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.workplace.wcm.api.exceptions.WCMException
com.ibm.workplace.wcm.api.exceptions.DocumentDeleteException
com.ibm.workplace.wcm.api.exceptions.DocumentDeleteReferentialIntegrityException
com.ibm.workplace.wcm.api.exceptions.MarkForDeletionFailedException
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
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 |
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 messagep_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 exceptioncause
- the exception that caused this exceptionp_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 exceptionp_uuid
- the published ID for which multiple drafts exist
getPublishedId
public java.lang.String getPublishedId()
- get the Published Id
- Returns:
- the published ID for which multiple drafts exist