GeoTessCPP: geotess::GeoTessException Class Reference

GeoTessCPP 2.1 Software to facilitate storage and retrieval of 3D information about the Earth.

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Friends Macros
Public Member Functions | Static Public Member Functions | Public Attributes
geotess::GeoTessException Class Reference

`#include <GeoTessException.h>`

List of all members.

## Public Member Functions
| GeoTessException (std::string message, int code)
| GeoTessException (ostringstream &os, const string &file, int line, int code)
| GeoTessException (const string &msg, const string &file, int line, int code)
virtual | ~GeoTessException ()

## Static Public Member Functions
static void | appendInfo (ostringstream &os, const string &file, int line)
static void | appendInfo (string &msg, const string &file, int line)

## Public Attributes
int | ecode
string | emessage

## Detailed Description

An exception class for all GeoTess objects.

Author:
  Sandy Ballard

## Constructor & Destructor Documentation

geotess::GeoTessException::GeoTessException | ( | std::string | message,
|  | int | code
| ) |  |
| inline

Parameterized constructor specifying the error message to be displayed.

geotess::GeoTessException::GeoTessException | ( | ostringstream & | os,
|  | const string & | file,
|  | int | line,
|  | int | code
| ) |  |
| inline

Standard Constructor taking a partially defined string stream, which contains the basic error message, and appending version, file, and line number (of error) to the stream before assigning its entire contents to the message of this exception. The error code is also assigned.

geotess::GeoTessException::GeoTessException | ( | const string & | msg,
|  | const string & | file,
|  | int | line,
|  | int | code
| ) |  |
| inline

Standard Constructor taking a partially defined string stream, which contains the basic error message, and appending version, file, and line number (of error) to the stream before assigning its entire contents to the message of this exception. The error code is also assigned.

virtual geotess::GeoTessException::~GeoTessException | ( |  | ) |
| inlinevirtual

Destructor.

## Member Function Documentation

static void geotess::GeoTessException::appendInfo | ( | ostringstream & | os,
|  | const string & | file,
|  | int | line
| ) |  |
| inlinestatic

Appends version, file, and line number information to the input string stream.

static void geotess::GeoTessException::appendInfo | ( | string & | msg,
|  | const string & | file,
|  | int | line
| ) |  |
| inlinestatic

Appends version, file, and line number information to the input string stream.

## Member Data Documentation

int geotess::GeoTessException::ecode

Public error code set to one of the error constantants defined in this file.

string geotess::GeoTessException::emessage

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

- include/GeoTessException.h