|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.freehep.record.loop.LoopException
This class is thrown by the "loop" method of the
interface if there an exception.
SequentialRecordLoop
Constructor Summary | |
LoopException(long supplied,
long countableSupplied)
Create an instance of this class without any detailed message. |
|
LoopException(String s,
long supplied,
long countableSupplied)
Create an instance of this class with a detailed message. |
Method Summary | |
long |
getCountableSupplied()
Returns the number of countable records that were supplied before the exception. |
long |
getSupplied()
Returns the number of records that were supplied before the exception. |
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 |
public LoopException(long supplied, long countableSupplied)
supplied
- the number of records that were supplied before the
exception.countableSupplied
- the number of countable records that were
supplied before the exception.public LoopException(String s, long supplied, long countableSupplied)
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.Method Detail |
public long getCountableSupplied()
public long getSupplied()
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |