FormatNotSupportedException Class Reference
[Exceptions]

Exception that is thrown when a format is not supported. More...

#include <format_not_supported_exception.h>

Inherits Exception.

Inheritance diagram for FormatNotSupportedException:

Inheritance graph
[legend]
Collaboration diagram for FormatNotSupportedException:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FormatNotSupportedException (std::string extension)
 FormatNotSupportedException (FormatNotSupportedException const &src)
virtual ~FormatNotSupportedException () throw ()
virtual char const * what () const throw ()
std::string const & getExtension () const

Detailed Description

Exception that is thrown when a format is not supported.

When a file of an unknown type, with an unknown extension is tried to be loaded, then this exception should be thrown

Author:
Tobias Gross (tobias.gross@imedgine.org)

Christian Koerner (christian.koerner@imedgine.org)

Alexander Lex (alexander.lex@imedgine.org)

Marc Streit (marc.streit@imedgine.org)

Martin Reininger (martin.reininger@imedgine.org)

Definition at line 36 of file format_not_supported_exception.h.


Constructor & Destructor Documentation

FormatNotSupportedException std::string  extension  ) 
 

Constructor

Parameters:
extension The extension of the format that caused the exception to occur

Definition at line 20 of file format_not_supported_exception.cpp.

FormatNotSupportedException FormatNotSupportedException const &  src  ) 
 

Copy Constructor

Definition at line 27 of file format_not_supported_exception.cpp.

~FormatNotSupportedException  )  throw () [virtual]
 

Destructor

Definition at line 34 of file format_not_supported_exception.cpp.


Member Function Documentation

std::string const & getExtension  )  const
 

Return a string containing the extension of the format that cause the exception

Returns:
The extension

Definition at line 47 of file format_not_supported_exception.cpp.

References Exception::detail_.

char const * what  )  const throw () [virtual]
 

Return a string describing what happened

Returns:
char const* A short description of the exception

Reimplemented from Exception.

Definition at line 40 of file format_not_supported_exception.cpp.


The documentation for this class was generated from the following files:
Generated on Sun Aug 13 18:20:04 2006 for iMEDgine by  doxygen 1.4.6