noope.input
Class BRLoadingException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--noope.input.BRLoadingException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BlockReaderException, BREntryNotFoundException, BRLoadingParseException

public class BRLoadingException
extends java.lang.Exception

An exception of this class (or one of its subclasses) is thrown by an object failing to load itself from a BlockReader. It stores a BlockReaderLocation object referencing the position where the error occurred.

Version:
26 March 2001, original version
Author:
Miklos Reiter
See Also:
Serialized Form

Constructor Summary
BRLoadingException(java.lang.String message, BlockReaderLocation where)
          Constructs a new BRLoadingException object.
 
Method Summary
 BlockReaderLocation getLocation()
          Returns a BlockReaderLocation object referring to the position in the BlockReader at which the exception has been raised.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BRLoadingException

public BRLoadingException(java.lang.String message,
                          BlockReaderLocation where)
Constructs a new BRLoadingException object.
Parameters:
message - The error message.
where - The position in the BlockReader where the exception has occurred.
Method Detail

getLocation

public BlockReaderLocation getLocation()
Returns a BlockReaderLocation object referring to the position in the BlockReader at which the exception has been raised.