Class ItemModelCloneCreator.CannotCloneException

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    ItemModelCloneCreator

    public static class ItemModelCloneCreator.CannotCloneException
    extends java.lang.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:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ItemModelCloneCreator.CopyContext getCopyContext()
      Returns the copy context of the failed clone operation.
      java.util.Collection<ItemModel> getCreatedItems()
      Extracts all newly created copies of the failed clone operation.
      java.util.Collection<ItemModel> getPendingItems()
      Extracts all pending source items of the failed clone operation.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getPendingItems

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

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