NetCDF4 C++ API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
netcdf::NcException Class Reference

Handles the C++ API exceptions. More...

#include <NetCDF/cpp4/src/NcException.h>

+ Inheritance diagram for netcdf::NcException:

Detailed Description

Default object thrown if a netCDF exception is encountered. An unsatisfactory return from a call to one of the netCDF c-routines generates an exception using an object inheriting this class. All other netCDF-related errors including those originating in the C++ binding, generates an NcException.

Copyright:
Original C++ API developed by Lynton Appel.
Portions of this software were developed by the Unidata Program at the
University Corporation for Atmospheric Research.
Modifications: Copyright 2013 Colorado State University. All rights reserved.
Organization:
Natural Resource Ecology Laboratory
Colorado State University, Fort Collins, CO 80523 USA
www.nrel.colostate.edu
Project:
IRC <www.nrel.colostate.edu/projects/irc/>
Author
Tom Hilinski tom.h.nosp@m.ilin.nosp@m.ski@c.nosp@m.olos.nosp@m.tate..nosp@m.edu
Date
2013Jan

Public Member Functions

 NcException (std::string const exceptionName, std::string const complaint, std::string const file, int const line)
 
 NcException (std::string const complaint, std::string const file, int const line)
 
virtual ~NcException () throw ()
 
char const * what () const throw ()
 

Constructor & Destructor Documentation

NcException::NcException ( std::string const  exceptionName,
std::string const  complaint,
std::string const  file,
int const  line 
)
NcException::NcException ( std::string const  complaint,
std::string const  file,
int const  line 
)
virtual netcdf::NcException::~NcException ( )
throw (
)
inlinevirtual

Member Function Documentation

char const* netcdf::NcException::what ( ) const
throw (
)
inline

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