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

SDIFException - SDIF Error handling via exceptions


Compounds

class  SDIFException
 SDIFException - Basic exception from which all other Easdif exceptions derive. More...

class  SDIFFileError
 SDIFFileError error during file operations. More...

class  SDIFOpeningError
 SDIFOpeningError error when opening a file. More...

class  SDIFReadWriteOnSameFile
 ReadWriteOnSameFile. More...

class  SDIFBadStdFile
 SDIFBadStdFile. More...

class  SDIFBadMode
 SDIFBadMode bad mode when opening file. More...

class  SDIFHeaderError
 SDIFHeaderError Frame/Matrix/File Header Errors. More...

class  SDIFFrameHeaderSizeError
 SDIFFrameHeaderSizeError. More...

class  SDIFBadFormatVersion
 SDIFBadFormatVersion. More...

class  SDIFBadHeader
 SDIFBadHeader. More...

class  SDIFAsciiChunkError
 ASCII Chunk Errors. More...

class  SDIFReDefined
 SDIFReDefined. More...

class  SDIFUnDefined
 SDIFUnDefined. More...

class  SDIFReading
 SDIFReading error during read. More...

class  SDIFEof
 SDIFEof: eof of sdif file reached. More...

class  SDIFDescriptionTypeError
 SDIFDescriptionTypeError. More...

class  SDIFArrayPosition
 SDIFArrayPosition. More...

class  SDIFMatrixDataError
 SDIFMatrixDataError. More...

class  SDIFNotInDataTypeUnion
 SDIFNotInDataTypeUnion. More...

class  SDIFMemoryError
 SDIFMemoryError memory problems. More...

class  SDIFFreeNull
 SDIFFreeNull mem pointer is zero. More...

class  SDIFAllocFail
 SDIFAllocFail memory allocation failed. More...

class  SDIFTextReadingError
 SDIFTextReadingError error reading text section. More...

class  SDIFTokenLength
 SDIFTokenLength. More...

class  SDIFMatrixNotAvailable
 SDIFMatrixNotAvailable requested matrix not in frame. More...


Functions

 SDIFException (SdifErrorLevelET level, const char *message, SdifFileT *_sdifFile, int error, const char *sourceFileName, int sourceFileLine)
 Initialize exception.

const char * what ()
 return message

void ErrorMessage ()
 pretty print error message

const SdifFileT * sdifFile () const
 get sdiffile pointer for file that causec exception

const std::string & getmessage () const
 get error message

const std::string & getsourcename () const
 get source file name that emitted error

int getenum () const
 get SDIF error tag / SdifErrorNumber


Function Documentation

Easdif::SDIFException::SDIFException SdifErrorLevelET    level,
const char *    message,
SdifFileT *    _sdifFile,
int    error,
const char *    sourceFileName,
int    sourceFileLine
[inline, inherited]
 

Initialize exception.

const char* Easdif::SDIFException::what   [inline, inherited]
 

return message

The member function what returns the error message

void Easdif::SDIFException::ErrorMessage   [inline, inherited]
 

pretty print error message

The member function ErrorMessage pretty-prints the SDIF error message via cerr.

const SdifFileT* Easdif::SDIFException::sdifFile   const [inline, inherited]
 

get sdiffile pointer for file that causec exception

Returns:
sdiffile pointer

const std::string& Easdif::SDIFException::getmessage   const [inline, inherited]
 

get error message

Returns:
returns mMessage string

const std::string& Easdif::SDIFException::getsourcename   const [inline, inherited]
 

get source file name that emitted error

Returns:
returns Source File name as a string

int Easdif::SDIFException::getenum   const [inline, inherited]
 

get SDIF error tag / SdifErrorNumber

Returns:
error number


Generated on Mon Feb 2 19:27:12 2004 for Easdif by doxygen1.2.16