FreeHEP API
Version current

org.freehep.record.loop
Class NoLoopRecordException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.freehep.record.loop.LoopException
              extended byorg.freehep.record.loop.NoLoopRecordException
All Implemented Interfaces:
Serializable

public class NoLoopRecordException
extends LoopException

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

Version:
$Id: NoLoopRecordException.java,v 1.1 2003/05/06 23:13:16 tonyj Exp $
Author:
patton
See Also:
Serialized Form
Source Code:
NoLoopRecordException.java

Constructor Summary
NoLoopRecordException(long supplied, long countableSupplied)
          Create an instance of this class without any detailed message.
NoLoopRecordException(String s, long supplied, long countableSupplied)
          Create an instance of this class with a detailed message.
 
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

NoLoopRecordException

public NoLoopRecordException(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.

NoLoopRecordException

public NoLoopRecordException(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.

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.