Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

CGNS::Exception Class Reference

#include <cgns++.h>

List of all members.

Public Types

enum  {
  NO_ERROR = 0, ADFLIB_ERROR, CGNSPP_FIRST_ERROR = 256, NULL_POINTER,
  NULL_STRING_POINTER, EMPTY_STRING, STRING_TOO_LONG, NUMBER_LESS_THAN_MINIMUM,
  NUMBER_GREATER_THAN_MAXIMUM, INDEX_TOO_LOW, INDEX_TOO_HIGH, NO_CGNS_NODE,
  NO_CGNS_PARENT, ILLEGAL_OPEN_MODE, NO_NAMED_CHILD, NO_LABELED_CHILD,
  UNKNOWN_DATA_ARRAY, UNKNOWN_QUANTITY, INVALID_LOCATION, NO_QUANTITY,
  NO_EXPONENTS, NO_UNITS, NO_LOCATION, NO_ELEMENT,
  NO_SIMULATIONTYPE, NO_DATACLASS, NO_STATE, NO_PARENT_NODE,
  WRONG_DATATYPE, WRONG_NUM_DIMENSIONS, WRONG_DIMENSION, ILLEGAL_DATA,
  ILLEGAL_RANGE, TODO = 510, INTERNAL_ERROR = 511
}

Public Methods

 Exception (int iErrorCode) throw ()
virtual ~Exception () throw ()
int getErrorCode () const throw ()
char const * getErrorMessage () const throw ()
virtual char const * what () const throw ()


Detailed Description

This exception is thrown when an error occurs calling a CGNS function.


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
NO_ERROR 
ADFLIB_ERROR 
CGNSPP_FIRST_ERROR 
NULL_POINTER 
NULL_STRING_POINTER 
EMPTY_STRING 
STRING_TOO_LONG 
NUMBER_LESS_THAN_MINIMUM 
NUMBER_GREATER_THAN_MAXIMUM 
INDEX_TOO_LOW 
INDEX_TOO_HIGH 
NO_CGNS_NODE 
NO_CGNS_PARENT 
ILLEGAL_OPEN_MODE 
NO_NAMED_CHILD 
NO_LABELED_CHILD 
UNKNOWN_DATA_ARRAY 
UNKNOWN_QUANTITY 
INVALID_LOCATION 
NO_QUANTITY 
NO_EXPONENTS 
NO_UNITS 
NO_LOCATION 
NO_ELEMENT 
NO_SIMULATIONTYPE 
NO_DATACLASS 
NO_STATE 
NO_PARENT_NODE 
WRONG_DATATYPE 
WRONG_NUM_DIMENSIONS 
WRONG_DIMENSION 
ILLEGAL_DATA 
ILLEGAL_RANGE 
TODO 
INTERNAL_ERROR 


Constructor & Destructor Documentation

Exception int    iErrorCode throw () [explicit]
 

virtual ~Exception   throw () [virtual]
 


Member Function Documentation

int getErrorCode   const throw ()
 

char const* getErrorMessage   const throw ()
 

virtual char const* what   const throw () [virtual]
 


Generated on Thu Mar 14 10:44:28 2002 for CGNS++ by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001