Mantid
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Mantid::Nexus::Exception Class Reference

Class that provides for a standard Nexus exception. More...

#include <NexusException.h>

Inheritance diagram for Mantid::Nexus::Exception:

Public Member Functions

 Exception (const std::string &msg="GENERIC ERROR", const std::string &functionname="", const std::string &filename="")
 Create a new Nexus::Exception.
 
const std::string filename () const throw ()
 
const std::string functionname () const throw ()
 

Private Attributes

std::string m_filename
 File this exception is associated with.
 
std::string m_functionname
 Function this exception is associted with.
 

Detailed Description

Class that provides for a standard Nexus exception.

Definition at line 21 of file NexusException.h.

Constructor & Destructor Documentation

◆ Exception()

Mantid::Nexus::Exception::Exception ( const std::string &  msg = "GENERIC ERROR",
const std::string &  functionname = "",
const std::string &  filename = "" 
)

Create a new Nexus::Exception.

Definition at line 10 of file NexusException.cpp.

Member Function Documentation

◆ filename()

const std::string Mantid::Nexus::Exception::filename ( ) const
throw (
)
Returns
the message with filename

Definition at line 15 of file NexusException.cpp.

References m_filename.

Referenced by Mantid::Nexus::operator<<().

◆ functionname()

const std::string Mantid::Nexus::Exception::functionname ( ) const
throw (
)
Returns
the message with functionname

Definition at line 13 of file NexusException.cpp.

References m_functionname.

Referenced by Mantid::Nexus::operator<<().

Member Data Documentation

◆ m_filename

std::string Mantid::Nexus::Exception::m_filename
private

File this exception is associated with.

Definition at line 33 of file NexusException.h.

Referenced by filename().

◆ m_functionname

std::string Mantid::Nexus::Exception::m_functionname
private

Function this exception is associted with.

Definition at line 32 of file NexusException.h.

Referenced by functionname().


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