name.angoca.db2sa.readers.exceptions
Class ConfigurationFileCorruptException

Package class diagram package ConfigurationFileCorruptException
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by name.angoca.db2sa.exceptions.AbstractDB2SAException
              extended by name.angoca.db2sa.readers.exceptions.AbstractReaderException
                  extended by name.angoca.db2sa.readers.exceptions.ConfigurationFileCorruptException
All Implemented Interfaces:
Serializable

public class ConfigurationFileCorruptException
extends AbstractReaderException

This exception is raised when the configuration file has an invalid structure.
Control Version

Version:
1.0.0 2009-07-19
Author:
Andres Gomez Casanova (AngocA)
See Also:
Serialized Form

Constructor Summary
ConfigurationFileCorruptException(String filename, Exception exception)
          Constructor that gives the name of the configuration file and a message describing why its structure is invalid.
 
Method Summary
 String getFilename()
          Returns the filename of the configuration file.
 String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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

ConfigurationFileCorruptException

public ConfigurationFileCorruptException(String filename,
                                         Exception exception)
Constructor that gives the name of the configuration file and a message describing why its structure is invalid.

Parameters:
filename - Name of the configuration file.
exception - Generated exception
Method Detail

getMessage

public final String getMessage()
Overrides:
getMessage in class Throwable

getFilename

public final String getFilename()
Returns the filename of the configuration file.

Returns:
the filename


Andres Gomez Casanova (AngocA) Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License.