CStringException Class Reference
[String Manipulations]

Search Toolkit Book for CStringException

#include <ncbistr.hpp>

Inheritance diagram for CStringException:

Inheritance graph
[legend]
Collaboration diagram for CStringException:

Collaboration graph
[legend]
List of all members.

Detailed Description

CStringException --.

Define exceptions generated by string classes.

CStringException inherits its basic functionality from CParseTemplException<CCoreException> and defines additional error codes for string parsing.

Definition at line 2693 of file ncbistr.hpp.

Public Types

enum  EErrCode { eConvert, eBadArgs, eFormat }
 Error types that string classes can generate. More...

Public Member Functions

virtual const char * GetErrCodeString (void) const
 Translate from the error code value to its string representation.
 NCBI_EXCEPTION_DEFAULT2 (CStringException, CParseTemplException< CCoreException >, std::string::size_type)


Member Enumeration Documentation

enum CStringException::EErrCode
 

Error types that string classes can generate.

Enumerator:
eConvert  Failure to convert string.
eBadArgs  Bad arguments to string methods.
eFormat  Wrong format for any input to string methods.

Definition at line 2697 of file ncbistr.hpp.


Member Function Documentation

const char * CStringException::GetErrCodeString void   )  const [virtual]
 

Translate from the error code value to its string representation.

Reimplemented from CParseTemplException< CCoreException >.

Definition at line 3585 of file ncbistr.cpp.

References eBadArgs, eConvert, eFormat, CParseTemplException< CCoreException >::GetErrCode(), and CException::GetErrCodeString().

CStringException::NCBI_EXCEPTION_DEFAULT2 CStringException  ,
CParseTemplException< CCoreException ,
std::string::size_type 
 


The documentation for this class was generated from the following files:
Generated on Mon Dec 7 14:47:35 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Mon Dec 07 16:24:11 2009 by modify_doxy.py rev. 173732