public class CyclicReferenceException extends RuntimeException
Thrown when bean evaluation finds a cycle reference.
There are two possible behaviours that Betwixt
adopts when
a cycle in the object graph is encountered.
If ID
attributes are being generated,
then the recursion will stop and the IDREF
attribute will be
written.
In this case, no exception will be thrown.
If ID
are not being generated,
then this exception will be thrown.
Modifier and Type | Field and Description |
---|---|
private static String |
DEFAULT_MESSAGE
Message used with empty constructor
|
Constructor and Description |
---|
CyclicReferenceException()
Construct exception with default message.
|
CyclicReferenceException(String message)
Construct exception with message
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
private static final String DEFAULT_MESSAGE
public CyclicReferenceException()
public CyclicReferenceException(String message)
message
- the detailed message string