Class ObjectDeletionException

    • Constructor Summary

      Constructors 
      Constructor Description
      ObjectDeletionException​(java.lang.String objectId)
      Creates a new instance using given object id in a predefined message template : "Object 'objectId' could not be deleted"
      ObjectDeletionException​(java.lang.String objectId, java.lang.Throwable cause)
      Creates a new instance using given object id in a predefined message template.
    • Method Summary

      • 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

      • ObjectDeletionException

        public ObjectDeletionException​(java.lang.String objectId,
                                       java.lang.Throwable cause)
        Creates a new instance using given object id in a predefined message template.
        Parameters:
        objectId - - string message
        cause - root cause
      • ObjectDeletionException

        public ObjectDeletionException​(java.lang.String objectId)
        Creates a new instance using given object id in a predefined message template : "Object 'objectId' could not be deleted"
        Parameters:
        objectId - - ID of the object that could not be deleted.