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

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.ProjectException
                  extended by com.ibm.workplace.wcm.api.exceptions.ParentIsDraftException
All Implemented Interfaces:
Localized, java.io.Serializable

public class ParentIsDraftException
extends com.ibm.workplace.wcm.api.exceptions.ProjectException

Thrown as the direct parent of the item being removed from the Project is draft. This is an implicit draft to draft relationship which means neither item can be taken out of the project.

Since:
8.5
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.workplace.wcm.api.exceptions.WCMException
ERR_APTRIX
 
Constructor Summary
ParentIsDraftException(Localized localizedMessage)
          Constructor that requires a localized message
ParentIsDraftException(java.lang.Throwable cause)
          Constructor
 
Method Summary
 
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
 

Constructor Detail

ParentIsDraftException

public ParentIsDraftException(java.lang.Throwable cause)
Constructor

Parameters:
cause -

ParentIsDraftException

public ParentIsDraftException(Localized localizedMessage)
Constructor that requires a localized message

Parameters:
localizedMessage - a localized message description extra information about the exception