org.apache.commons.betwixt.io
Class CyclicReferenceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.commons.betwixt.io.CyclicReferenceException
All Implemented Interfaces:
java.io.Serializable

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.

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

Constructor Summary
CyclicReferenceException()
          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

CyclicReferenceException

public CyclicReferenceException()
Construct exception with default message.


CyclicReferenceException

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

Parameters:
message - the detailed message string


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