Package uk.ac.starlink.table
Class UnrepeatableSequenceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- uk.ac.starlink.table.UnrepeatableSequenceException
-
- All Implemented Interfaces:
java.io.Serializable
public class UnrepeatableSequenceException extends java.io.IOException
Exception thrown byStarTable.getRowSequence()
calls after the first for tables which can only provide a singleRowSequence
. The general contract ofStarTable
is thatgetRowSequence
should be callable multiple times, so in general this exception ought not to be thrown, but for certain special circumstances where a one-shot table is known to be usable, this is the exception which should be used.- Since:
- 23 Jul 2007
- Author:
- Mark Taylor
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnrepeatableSequenceException()
Constructs an exception with a default message.UnrepeatableSequenceException(java.lang.String msg)
Constructs an exception with a given message.
-