magoffin.matt.meta
Class MetadataNotSupportedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by magoffin.matt.meta.MetadataNotSupportedException
All Implemented Interfaces:
java.io.Serializable

public class MetadataNotSupportedException
extends java.lang.RuntimeException

Exception thrown when configuration errors occur.

Version:
$Revision: 3 $ $Date: 2008-12-27 08:09:28 +1300 (Sat, 27 Dec 2008) $
Author:
Matt Magoffin (spamsqr@msqr.us)
See Also:
Serialized Form

Constructor Summary
MetadataNotSupportedException()
          Default constructor.
MetadataNotSupportedException(java.io.File metadataFile, MetadataResourceFactory factory)
          Construct from a file and factory.
MetadataNotSupportedException(java.io.File metadataFile, MetadataResourceFactory factory, java.lang.Throwable cause)
          Construct from a file and factory with nested Throwable.
 
Method Summary
 MetadataResourceFactory getFactory()
           
 java.io.File getMetadataFile()
           
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MetadataNotSupportedException

public MetadataNotSupportedException()
Default constructor.


MetadataNotSupportedException

public MetadataNotSupportedException(java.io.File metadataFile,
                                     MetadataResourceFactory factory)
Construct from a file and factory.

Parameters:
metadataFile - the metadata file that caused the exception
factory - the factory that threw the exception

MetadataNotSupportedException

public MetadataNotSupportedException(java.io.File metadataFile,
                                     MetadataResourceFactory factory,
                                     java.lang.Throwable cause)
Construct from a file and factory with nested Throwable.

Parameters:
metadataFile - the metadata file that caused the exception
factory - the factory that threw the exception
cause - the cause of the error
Method Detail

getFactory

public MetadataResourceFactory getFactory()
Returns:
the factory

getMetadataFile

public java.io.File getMetadataFile()
Returns:
the metadataFile