edu.iu.iv.core.persistence
Class IncorrectFormatException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--edu.iu.iv.core.persistence.PersistenceException
                    |
                    +--edu.iu.iv.core.persistence.IncorrectFormatException
All Implemented Interfaces:
java.io.Serializable

public class IncorrectFormatException
extends PersistenceException

An IncorrectFormatException is thrown by a persister whenever the data that it expects is different from what it actually finds in the resource descriptor. Currently this Exception has been created here with the intention of being thrown whenever a file is found to be of a format different than expected, implying that this is primarily applicable for files on disk.

Version:
0.1
Author:
Team IVC
See Also:
Serialized Form

Constructor Summary
IncorrectFormatException()
          Creates a new exception.
IncorrectFormatException(java.lang.String message)
          Creates a new exception with the specified detail 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IncorrectFormatException

public IncorrectFormatException()
Creates a new exception.


IncorrectFormatException

public IncorrectFormatException(java.lang.String message)
Creates a new exception with the specified detail message.

Parameters:
message - The detail message for this exception.