NexusCPP  3.5.0
Public Member Functions | List of all members
nxcpp::NexusException Class Reference

#include <nxfile.h>

Inheritance diagram for nxcpp::NexusException:
Inheritance graph
[legend]
Collaboration diagram for nxcpp::NexusException:
Collaboration graph
[legend]

Public Member Functions

 NexusException ()
 
 NexusException (const char *pcszDesc, const char *pcszOrigin)
 
 NexusException (const std::string &desc, const char *pcszOrigin)
 
void PrintMessage ()
 Prints error message on console. More...
 
void GetMsg (char *pBuf, int iLen)
 

Detailed Description

NeXus exceptions

This class is designed to hold nexus exceptions

Constructor & Destructor Documentation

◆ NexusException() [1/3]

nxcpp::NexusException::NexusException ( )
inline

◆ NexusException() [2/3]

nxcpp::NexusException::NexusException ( const char *  pcszDesc,
const char *  pcszOrigin 
)
inline

◆ NexusException() [3/3]

nxcpp::NexusException::NexusException ( const std::string &  desc,
const char *  pcszOrigin 
)
inline

Member Function Documentation

◆ GetMsg()

void nxcpp::NexusException::GetMsg ( char *  pBuf,
int  iLen 
)

Copies error message in a pre-allocated std::string buffer

Parameters
pBufBuffer (allocated by caller) to copy the message in
iLenBuffer length

◆ PrintMessage()

void nxcpp::NexusException::PrintMessage ( )

Prints error message on console.


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