Class ObjectCloningException

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getObjectId()  
      • 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
    • Constructor Detail

      • ObjectCloningException

        public ObjectCloningException​(java.lang.String objectId,
                                      java.lang.Throwable cause)
        Creates exception message using getMessageWithObjectId(String)
        Parameters:
        objectId - is put into message and passed to super class constructor. Additionally it can be retrieved by calling getObjectId().
        cause - is re-passed to superclass constructor
      • ObjectCloningException

        public ObjectCloningException​(java.lang.String objectId,
                                      java.lang.String message,
                                      java.lang.Throwable cause)
        Parameters:
        objectId - can be retrieved by calling getObjectId()
        message - is re-passed to superclass constructor
        cause - is re-passed to superclass constructor and cause objectId
    • Method Detail

      • getObjectId

        public java.lang.String getObjectId()