Class RemoveInstanceException

All Implemented Interfaces:
Serializable

public class RemoveInstanceException extends ProfileException
Exception that is used to indicate that an instance could not be deleted.
Since:
5.0
Author:
O. Kerpershoek
See Also:
  • Constructor Details

    • RemoveInstanceException

      public RemoveInstanceException(EntityValue id)
      Constructs the exception with the ID of the instance that could not be removed.
      Parameters:
      id - The ID of the instance that could not be removed.
    • RemoveInstanceException

      public RemoveInstanceException(EntityValue id, String explainMessage)
      Constructs the exception with the ID of the instance that could not be removed.
      Parameters:
      id - The ID of the instance that could not be removed.
      explainMessage - Extra explanation information.
    • RemoveInstanceException

      public RemoveInstanceException(EntityValue id, Throwable cause)
      Constructs the exception with the ID of the instance that could not be removed and the cause of the removal failure.
      Parameters:
      id - The ID of the instance that could not be removed.
      cause - The cause of the removal failure.
  • Method Details

    • getInstanceReference

      public EntityValue getInstanceReference()
      This method returns the ID of the instance that could not be removed.
      Returns:
      the ID of the instance that could not be removed.