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

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

#include "ncException.h"

Inheritance diagram for netCDF::exceptions::NcNullType:
netCDF::exceptions::NcException

Public Member Functions

 NcNullType (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 type.

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

Definition at line 405 of file ncException.h.

Constructor & Destructor Documentation

◆ NcNullType()

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

Definition at line 302 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.