org.freehep.record.loop
Class LoopSourceExhaustedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.freehep.record.loop.LoopException
              extended by org.freehep.record.loop.LoopSourceExhaustedException
All Implemented Interfaces:
Serializable

public class LoopSourceExhaustedException
extends LoopException

This class is thrown by the "loop" method of the SequentialRecordLoop interface if its SequentialRecordSource throws a EndOfSourceException.

Version:
$Id: LoopSourceExhaustedException.java 8584 2006-08-10 23:06:37Z duns $
Author:
patton
See Also:
Serialized Form

Constructor Summary
LoopSourceExhaustedException(long supplied, long countableSupplied)
          Create an instance of this class without any detailed message.
LoopSourceExhaustedException(String s, long supplied, long countableSupplied)
          Create an instance of this class with a detailed message.
 
Method Summary
 
Methods inherited from class org.freehep.record.loop.LoopException
getCountableSupplied, getSupplied
 
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

LoopSourceExhaustedException

public LoopSourceExhaustedException(long supplied,
                                    long countableSupplied)
Create an instance of this class without any detailed message.

Parameters:
supplied - the number of records that were supplied before the exception.
countableSupplied - the number of countable records that were supplied before the exception.

LoopSourceExhaustedException

public LoopSourceExhaustedException(String s,
                                    long supplied,
                                    long countableSupplied)
Create an instance of this class with a detailed message.

Parameters:
s - the detailed message.
supplied - the number of records that were supplied before the exception.
countableSupplied - the number of countable records that were supplied before the exception.


Copyright © 2000-2007 FreeHEP. All Rights Reserved.