NetCDF-C++ 4.3.1
netCDF::exceptions::NcNullDim Class Reference

Thrown if the requested operation is on a NULL dimension. More...

#include "ncException.h"

Inheritance diagram for netCDF::exceptions::NcNullDim:
netCDF::exceptions::NcException

Public Member Functions

 NcNullDim (const char *complaint, const char *file, int line)
 
int errorCode () const throw ()
 
const char * what () const throw ()
 

Detailed Description

Thrown if the requested operation is on a NULL dimension.

This exception is thrown if an operation on a NcDim object is requested which is empty. To test if the object is empty used NcDim::isNull()

Definition at line 416 of file ncException.h.

Constructor & Destructor Documentation

◆ NcNullDim()

NcNullDim::NcNullDim ( const char *  complaint,
const char *  file,
int  line 
)

Definition at line 298 of file ncException.cpp.

Member Function Documentation

◆ errorCode()

int NcException::errorCode ( ) const
throw (
)
inherited

Definition at line 91 of file ncException.cpp.

◆ what()

const char * NcException::what ( ) const
throw (
)
inherited

Definition at line 86 of file ncException.cpp.


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

Return to the Main Unidata NetCDF page.
Generated on Wed Nov 10 2021 15:25:08 for NetCDF-C++. NetCDF is a Unidata library.