Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals

SOSlib Error Management

This optional module contains all functions to set and retrieve warnings, errors and fatal errors occuring at any level of SOSlib. More...

Data Structures

struct  solverErrorMessage
 error message, including errorCode More...

Typedefs

typedef solverErrorMessage solverErrorMessage_t
 error message, including errorCode

Functions

SBML_ODESOLVER_API int SolverError_getNum (errorType_t type)
SBML_ODESOLVER_API solverErrorMessage_tSolverError_getError (errorType_t type, int errorNum)
char * SolverError_getMessage (errorType_t type, int errorNum)
 get a stored error message
errorCode_t SolverError_getCode (errorType_t type, int errorNum)
 get error code
errorCode_t SolverError_getLastCode (errorType_t type)
 get error code of last error stored of given type
SBML_ODESOLVER_API void SolverError_clear ()
 empty error store
SBML_ODESOLVER_API void SolverError_dumpAndClearErrors ()
SBML_ODESOLVER_API void SolverError_error (errorType_t type, errorCode_t errorCode, char *fmt,...)
 create an error
SBML_ODESOLVER_API void SolverError_haltOnErrors ()
 exit the program if errors or fatals have been created.
char * SolverError_itoa (int value, char *result, int base)
int SolverError_dumpHelper (char *s)
SBML_ODESOLVER_API char * SolverError_dumpToString ()
SBML_ODESOLVER_API void SolverError_freeDumpString (char *message)
SBML_ODESOLVER_API void SolverError_dump ()
SBML_ODESOLVER_API int SolverError_isMemoryExhausted ()
SBML_ODESOLVER_API void * SolverError_calloc (size_t num, size_t size)

Detailed Description

This optional module contains all functions to set and retrieve warnings, errors and fatal errors occuring at any level of SOSlib.


Typedef Documentation

typedef struct solverErrorMessage solverErrorMessage_t
 

error message, including errorCode


Function Documentation

SBML_ODESOLVER_API int SolverError_getNum errorType_t  type  ) 
 

SBML_ODESOLVER_API solverErrorMessage_t* SolverError_getError errorType_t  type,
int  errorNum
 

char* SolverError_getMessage errorType_t  type,
int  errorNum
 

get a stored error message

errorCode_t SolverError_getCode errorType_t  type,
int  errorNum
 

get error code

errorCode_t SolverError_getLastCode errorType_t  type  ) 
 

get error code of last error stored of given type

SBML_ODESOLVER_API void SolverError_clear  ) 
 

empty error store

SBML_ODESOLVER_API void SolverError_dumpAndClearErrors  ) 
 

SBML_ODESOLVER_API void SolverError_error errorType_t  type,
errorCode_t  errorCode,
char *  fmt,
  ...
 

create an error

SBML_ODESOLVER_API void SolverError_haltOnErrors  ) 
 

exit the program if errors or fatals have been created.

char* SolverError_itoa int  value,
char *  result,
int  base
 

int SolverError_dumpHelper char *  s  ) 
 

SBML_ODESOLVER_API char* SolverError_dumpToString  ) 
 

SBML_ODESOLVER_API void SolverError_freeDumpString char *  message  ) 
 

SBML_ODESOLVER_API void SolverError_dump  ) 
 

SBML_ODESOLVER_API int SolverError_isMemoryExhausted  ) 
 

SBML_ODESOLVER_API void* SolverError_calloc size_t  num,
size_t  size
 


Generated on Wed Dec 21 18:10:38 2005 for SBML ODE Solver Library API by  doxygen 1.4.4