Class CyclicReferenceException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by
All Implemented Interfaces:

public class CyclicReferenceException
extends java.lang.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.

$Revision: 438373 $
Robert Burrell Donkin
See Also:
Serialized Form

Constructor Summary
          Construct exception with default message.
CyclicReferenceException(java.lang.String message)
          Construct exception with message
Method Summary
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public CyclicReferenceException()
Construct exception with default message.


public CyclicReferenceException(java.lang.String message)
Construct exception with message

message - the detailed message string

Copyright 2002-2008 The Apache Software Foundation. All Rights Reserved.