sofya.base.exceptions
Class DatabaseEOFException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by sofya.base.exceptions.BadFileFormatException
                  extended by sofya.base.exceptions.DatabaseEOFException
All Implemented Interfaces:
java.io.Serializable

public class DatabaseEOFException
extends BadFileFormatException

Exception that indicates that the end of a database file was encountered prematurely.

Version:
11/04/2004
Author:
Alex Kinneer
See Also:
Serialized Form

Constructor Summary
DatabaseEOFException()
          Creates a new end of file exception.
DatabaseEOFException(java.lang.String msg)
          Creates a new end of file exception with a message.
 
Method Summary
 java.lang.String getMessage()
          Displays the message associated with this exception.
 
Methods inherited from class sofya.base.exceptions.BadFileFormatException
getCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, 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

DatabaseEOFException

public DatabaseEOFException()
Creates a new end of file exception.


DatabaseEOFException

public DatabaseEOFException(java.lang.String msg)
Creates a new end of file exception with a message.

Parameters:
msg - Message associated with this end of file exception.
Method Detail

getMessage

public java.lang.String getMessage()
Displays the message associated with this exception.

Overrides:
getMessage in class java.lang.Throwable
Returns:
The message associated with this exception.