FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
netcdf_sinmod::Exception Class Reference

NetCDF exception for error reporting; what() is the full message.

#include <NetCDFParser.h>

+ Inheritance diagram for netcdf_sinmod::Exception:
+ Collaboration diagram for netcdf_sinmod::Exception:

Public Member Functions

 Exception (const string &errorMessage)
 
void AppendErrorMessage (const string &errormessage)
 
const char * what () const noexcept override
 

Constructor & Destructor Documentation

◆ Exception()

netcdf_sinmod::Exception::Exception ( const string &  errorMessage)
inline

Construct exception with message.

Parameters
[in]errorMessageError description.

Member Function Documentation

◆ AppendErrorMessage()

void netcdf_sinmod::Exception::AppendErrorMessage ( const string &  errormessage)
inline

Append error message.

Parameters
[in]errormessageAdditional error info.

◆ what()

const char * netcdf_sinmod::Exception::what ( ) const
inlineoverridenoexcept

Get full error message.

Returns
Error message, with every appended one.

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