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

Index exceeds dimension bound. More...

#include "ncException.h"

Inheritance diagram for netCDF::exceptions::NcInvalidCoords:
netCDF::exceptions::NcException

Public Member Functions

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

Detailed Description

Index exceeds dimension bound.

Exception may be generated during operations to get or put netCDF variable data. The exception is thrown if the specified indices were out of range for the rank of the specified variable. For example, a negative index or an index that is larger than the corresponding dimension length will cause an error.

Definition at line 96 of file ncException.h.

Constructor & Destructor Documentation

◆ NcInvalidCoords()

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

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