Class MCRActiveLinkException

All Implemented Interfaces:
Serializable

public class MCRActiveLinkException extends MCRCatchException
This exception holds information about a link condition that did not allow a certain action to be performed. As this exception does not extend RuntimeException it has to be caught for data integrity reasons.
Author:
Thomas Scheffler (yagee)
See Also:
  • Constructor Details

  • Method Details

    • getActiveLinks

      public Map<String,Collection<String>> getActiveLinks()
      Returns:
      a Hashtable with destinations (key) and List of sources (value)
    • addLink

      public void addLink(String source, String dest)
      collects information on active links that do not permit a certain action on the repository.
      Parameters:
      source - the source of a link
      dest - the destination of a link