public class DanglingReferenceException extends RuntimeException
cloneTree
call an updated reference was requested
for a node that did not get cloned. This happens when a sub-graph is
duplicated via cloneTree
and has at least one Leaf node
that contains a reference to a Node that has no corresponding node in
the cloned sub-graph. This results in two Leaf nodes wanting to share
access to the same Node.
If dangling references are to be allowed during the cloneTree call,
cloneTree
should be called with the
allowDanglingReferences
parameter set to true
.
Node.cloneTree()
,
Serialized FormConstructor and Description |
---|
DanglingReferenceException()
Create the exception object with default values.
|
DanglingReferenceException(String str)
Create the exception object that outputs message.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DanglingReferenceException()
public DanglingReferenceException(String str)
str
- the message string to be output.Copyright © 2016–2022 SciJava. All rights reserved.