edu.ull.cgunay.utils
Class BreakOutOfIterationException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--edu.ull.cgunay.utils.TaskException
                    |
                    +--edu.ull.cgunay.utils.BreakOutOfIterationException
All Implemented Interfaces:
Serializable

public class BreakOutOfIterationException
extends TaskException

Thrown in iterators when the iteration needs to be terminated.

Created: Sat Apr 20 14:42:05 2002

Modified: $Date: 2002/11/11 04:52:00 $

Version:
$Revision: 1.3 $ for this file.
Author:
Cengiz Gunay
See Also:
Iteration, Serialized Form

Field Summary
(package private)  Object currentObject
           
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
BreakOutOfIterationException()
           
BreakOutOfIterationException(Object currentObject)
          Breaks the iteration and records the object which caused it.
 
Method Summary
 Object getValue()
           
 
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
 

Field Detail

currentObject

Object currentObject
Constructor Detail

BreakOutOfIterationException

public BreakOutOfIterationException()

BreakOutOfIterationException

public BreakOutOfIterationException(Object currentObject)
Breaks the iteration and records the object which caused it. Retrieve it method getValue().

Parameters:
currentObject - an Object value
See Also:
getValue()
Method Detail

getValue

public Object getValue()