Mapper  0.9.0
API documentation
Public Member Functions | List of all members
OpenOrienteering::FileFormatException Class Reference

An exception type thrown by an importer or exporter if it encounters a fatal error. More...

#include <file_format.h>

Inheritance diagram for OpenOrienteering::FileFormatException:
Inheritance graph
[legend]
Collaboration diagram for OpenOrienteering::FileFormatException:
Collaboration graph
[legend]

Public Member Functions

 FileFormatException (const QString &message=QString())
 Creates a new exception with the given message. More...
 
 FileFormatException (const char *message)
 Creates a new exception with the given message. More...
 
 FileFormatException (const FileFormatException &other) noexcept
 Copy-constructor (C++ FAQ 17.17). More...
 
 ~FileFormatException () noexcept override
 Destroys the exception object. More...
 
const QStringmessage () const noexcept
 Returns the message as a QString. More...
 
const char * what () const noexcept override
 Returns the message as a C string. More...
 

Detailed Description

An exception type thrown by an importer or exporter if it encounters a fatal error.

Constructor & Destructor Documentation

◆ FileFormatException() [1/3]

OpenOrienteering::FileFormatException::FileFormatException ( const QString message = QString())
inline

Creates a new exception with the given message.

Parameters
messagea text describing the exceptional event that has occurred.

◆ FileFormatException() [2/3]

OpenOrienteering::FileFormatException::FileFormatException ( const char *  message)
inline

Creates a new exception with the given message.

Parameters
messagea text describing the exceptional event that has occurred.

◆ FileFormatException() [3/3]

OpenOrienteering::FileFormatException::FileFormatException ( const FileFormatException other)
inlinenoexcept

Copy-constructor (C++ FAQ 17.17).

◆ ~FileFormatException()

OpenOrienteering::FileFormatException::~FileFormatException ( )
overridedefaultnoexcept

Destroys the exception object.

Member Function Documentation

◆ message()

const QString & OpenOrienteering::FileFormatException::message ( ) const
inlinenoexcept

Returns the message as a QString.

◆ what()

const char * OpenOrienteering::FileFormatException::what ( ) const
overridenoexcept

Returns the message as a C string.


The documentation for this class was generated from the following files: