uk.ac.starlink.table
Class UnrepeatableSequenceException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended byuk.ac.starlink.table.UnrepeatableSequenceException
All Implemented Interfaces:
Serializable

public class UnrepeatableSequenceException
extends IOException

Exception thrown by StarTable.getRowSequence() calls after the first for tables which can only provide a single RowSequence. The general contract of StarTable is that getRowSequence 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
See Also:
Serialized Form

Constructor Summary
UnrepeatableSequenceException()
          Constructs an exception with a default message.
UnrepeatableSequenceException(String msg)
          Constructs an exception with a given message.
 
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

UnrepeatableSequenceException

public UnrepeatableSequenceException()
Constructs an exception with a default message.


UnrepeatableSequenceException

public UnrepeatableSequenceException(String msg)
Constructs an exception with a given message.

Parameters:
msg - message

Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved.