noope.input
Class BlockReaderLocationWithContext

java.lang.Object
  |
  +--noope.input.BlockReaderLocation
        |
        +--noope.input.BlockReaderLocationWithContext

public class BlockReaderLocationWithContext
extends BlockReaderLocation

This class implements a BlockReaderLocation that contains the context straight away; this is needed when an exception occurs while a BlockReader is being constructed, since then, we don't have it to produce the context from the location.

Version:
June 2001
Author:
Paul Evans

Constructor Summary
BlockReaderLocationWithContext(BlockReaderContext new_c)
           
 
Method Summary
 BlockReaderContext convertToContext()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BlockReaderLocationWithContext

public BlockReaderLocationWithContext(BlockReaderContext new_c)
Method Detail

convertToContext

public BlockReaderContext convertToContext()
Overrides:
convertToContext in class BlockReaderLocation

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object