Package org.mycore.datamodel.common
Class MCRActiveLinkException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.mycore.common.MCRCatchException
org.mycore.datamodel.common.MCRActiveLinkException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorDescriptionMCRActiveLinkException
(String message) MCRActiveLinkException
(String message, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionvoid
collects information on active links that do not permit a certain action on the repository.Methods inherited from class org.mycore.common.MCRCatchException
getStackTraceAsString, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
MCRActiveLinkException
- See Also:
-
MCRActiveLinkException
- See Also:
-
-
Method Details
-
getActiveLinks
- Returns:
- a Hashtable with destinations (key) and List of sources (value)
-
addLink
collects information on active links that do not permit a certain action on the repository.- Parameters:
source
- the source of a linkdest
- the destination of a link
-