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

ADF::Exception Class Reference

#include <adf++.h>

List of all members.

Public Types

enum  {
  NO_ERROR = -1, IMPOSSIBLE = 0, NUMBER_LESS_THAN_MINIMUM = 1, NUMBER_GREATER_THAN_MAXIMUM,
  STRING_LENGTH_ZERO, STRING_LENGTH_TOO_BIG, STRING_NOT_A_HEX_STRING, TOO_MANY_ADF_FILES_OPENED,
  ADF_FILE_STATUS_NOT_RECOGNIZED, FILE_OPEN_ERROR, ADF_FILE_NOT_OPENED, FILE_INDEX_OUT_OF_RANGE = 10,
  BLOCK_OFFSET_OUT_OF_RANGE, NULL_STRING_POINTER, FSEEK_ERROR, FWRITE_ERROR,
  FREAD_ERROR, ADF_MEMORY_TAG_ERROR, ADF_DISK_TAG_ERROR, REQUESTED_NEW_FILE_EXISTS,
  ADF_FILE_FORMAT_NOT_RECOGNIZED, FREE_OF_ROOT_NODE = 20, FREE_OF_FREE_CHUNK_TABLE, REQUESTED_OLD_FILE_NOT_FOUND,
  UNIMPLEMENTED_CODE, SUB_NODE_TABLE_ENTRIES_BAD, MEMORY_ALLOCATION_FAILED, DUPLICATE_CHILD_NAME,
  ZERO_DIMENSIONS, BAD_NUMBER_OF_DIMENSIONS, CHILD_NOT_OF_GIVEN_PARENT, DATA_TYPE_TOO_LONG = 30,
  INVALID_DATA_TYPE, NULL_POINTER, NO_DATA, ERROR_ZEROING_OUT_MEMORY,
  REQUESTED_DATA_TOO_LONG, END_OUT_OF_DEFINED_RANGE, BAD_STRIDE_VALUE, MINIMUM_GT_MAXIMUM,
  MACHINE_FORMAT_NOT_RECOGNIZED, CANNOT_CONVERT_NATIVE_FORMAT = 40, CONVERSION_FORMATS_EQUAL, DATA_TYPE_NOT_SUPPORTED,
  FILE_CLOSE_ERROR, NUMERIC_OVERFLOW, START_OUT_OF_DEFINED_RANGE, ZERO_LENGTH_VALUE,
  BAD_DIMENSION_VALUE, BAD_ERROR_STATE, UNEQUAL_MEMORY_AND_DISK_DIMS, LINKS_TOO_DEEP = 50,
  NODE_IS_NOT_A_LINK, LINK_TARGET_NOT_THERE, LINKED_TO_FILE_NOT_THERE, NODE_ID_ZERO,
  INCOMPLETE_DATA, INVALID_NODE_NAME, INVALID_VERSION, NODES_NOT_IN_SAME_FILE,
  PRISTK_NOT_FOUND, MACHINE_FILE_INCOMPATABLE = 60, FFLUSH_ERROR = 61, ADFPP_FIRST_ERROR = 100,
  DIFFERENT_DATA_TYPE, DELETED_NODE, INTERNAL_ERROR = 127
}

Public Methods

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

Protected Attributes

int mErrorCode


Detailed Description

This exception is thrown when an error occurs calling an ADF function.


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
NO_ERROR 
IMPOSSIBLE 
NUMBER_LESS_THAN_MINIMUM 
NUMBER_GREATER_THAN_MAXIMUM 
STRING_LENGTH_ZERO 
STRING_LENGTH_TOO_BIG 
STRING_NOT_A_HEX_STRING 
TOO_MANY_ADF_FILES_OPENED 
ADF_FILE_STATUS_NOT_RECOGNIZED 
FILE_OPEN_ERROR 
ADF_FILE_NOT_OPENED 
FILE_INDEX_OUT_OF_RANGE 
BLOCK_OFFSET_OUT_OF_RANGE 
NULL_STRING_POINTER 
FSEEK_ERROR 
FWRITE_ERROR 
FREAD_ERROR 
ADF_MEMORY_TAG_ERROR 
ADF_DISK_TAG_ERROR 
REQUESTED_NEW_FILE_EXISTS 
ADF_FILE_FORMAT_NOT_RECOGNIZED 
FREE_OF_ROOT_NODE 
FREE_OF_FREE_CHUNK_TABLE 
REQUESTED_OLD_FILE_NOT_FOUND 
UNIMPLEMENTED_CODE 
SUB_NODE_TABLE_ENTRIES_BAD 
MEMORY_ALLOCATION_FAILED 
DUPLICATE_CHILD_NAME 
ZERO_DIMENSIONS 
BAD_NUMBER_OF_DIMENSIONS 
CHILD_NOT_OF_GIVEN_PARENT 
DATA_TYPE_TOO_LONG 
INVALID_DATA_TYPE 
NULL_POINTER 
NO_DATA 
ERROR_ZEROING_OUT_MEMORY 
REQUESTED_DATA_TOO_LONG 
END_OUT_OF_DEFINED_RANGE 
BAD_STRIDE_VALUE 
MINIMUM_GT_MAXIMUM 
MACHINE_FORMAT_NOT_RECOGNIZED 
CANNOT_CONVERT_NATIVE_FORMAT 
CONVERSION_FORMATS_EQUAL 
DATA_TYPE_NOT_SUPPORTED 
FILE_CLOSE_ERROR 
NUMERIC_OVERFLOW 
START_OUT_OF_DEFINED_RANGE 
ZERO_LENGTH_VALUE 
BAD_DIMENSION_VALUE 
BAD_ERROR_STATE 
UNEQUAL_MEMORY_AND_DISK_DIMS 
LINKS_TOO_DEEP 
NODE_IS_NOT_A_LINK 
LINK_TARGET_NOT_THERE 
LINKED_TO_FILE_NOT_THERE 
NODE_ID_ZERO 
INCOMPLETE_DATA 
INVALID_NODE_NAME 
INVALID_VERSION 
NODES_NOT_IN_SAME_FILE 
PRISTK_NOT_FOUND 
MACHINE_FILE_INCOMPATABLE 
FFLUSH_ERROR 
ADFPP_FIRST_ERROR 
DIFFERENT_DATA_TYPE 
DELETED_NODE 
INTERNAL_ERROR 


Constructor & Destructor Documentation

Exception int    iErrorCode [explicit]
 

virtual ~Exception   throw () [virtual]
 


Member Function Documentation

int getErrorCode   const throw ()
 

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

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


Member Data Documentation

int mErrorCode [protected]
 


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