ucar.unidata.view.sounding
Class ClockedBeanCycleException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by ucar.unidata.view.sounding.ClockedBeanCycleException
All Implemented Interfaces:
Serializable

public final class ClockedBeanCycleException
extends RuntimeException

The exception thrown when a cycle is dectected in directed graph of ClockedBean listeners.

Version:
$Revision: 1.5 $ $Date: 2005/05/13 18:33:26 $
Author:
Steven R. Emmerson
See Also:
Serialized Form

Constructor Summary
ClockedBeanCycleException(ClockedBean bean)
          Constructs from the clocked JavaBean that is part of a cycle.
 
Method Summary
 ClockedBean getClockedBean()
          Returns the clocked JavaBean at which a cycle was detected.
 
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

ClockedBeanCycleException

public ClockedBeanCycleException(ClockedBean bean)
Constructs from the clocked JavaBean that is part of a cycle.

Parameters:
bean - The clocked JavaBean that is part of a cycle.
Throws:
NullPointerException - if the argument is null.
Method Detail

getClockedBean

public ClockedBean getClockedBean()
Returns the clocked JavaBean at which a cycle was detected.

Returns:
The JavaBean at which a cycle was detected.