Class ItemModelCloneCreator.CannotCloneException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.hybris.platform.servicelayer.internal.model.impl.ItemModelCloneCreator.CannotCloneException
All Implemented Interfaces:
Serializable
Enclosing class:
ItemModelCloneCreator

public static class ItemModelCloneCreator.CannotCloneException extends RuntimeException
Clone error class. Holds copy context and pending items. Please note that when you're getting this exception some items may have been already copied!
See Also:
  • Method Details

    • getCopyContext

      public ItemModelCloneCreator.CopyContext getCopyContext()
      Returns the copy context of the failed clone operation.
    • getPendingItems

      public Collection<ItemModel> getPendingItems()
      Extracts all pending source items of the failed clone operation.
    • getCreatedItems

      public Collection<ItemModel> getCreatedItems()
      Extracts all newly created copies of the failed clone operation.