Synesis Software STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ...

coding_exception Class Reference

#include <b64/b64.hpp>

List of all members.


Detailed Description

Exception thrown during encoding/decoding.

Public Member Functions

 coding_exception (B64_RC rc, char const *badChar)
 Constructs an exception based on the error code, and a pointer to the bad character.
virtual char const * what () const throw ()
 Pointer to a character describing the condition that caused the exception.
B64_RC get_rc () const
 The error code associated with the exception.
char const * get_badChar () const
 The return code associated with the exception.

Constructor & Destructor Documentation

coding_exception ( B64_RC  rc,
char const *  badChar 
) [inline]

Constructs an exception based on the error code, and a pointer to the bad character.


Member Function Documentation

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

Pointer to a character describing the condition that caused the exception.

B64_RC get_rc (  )  const [inline]

The error code associated with the exception.

char const* get_badChar (  )  const [inline]

The return code associated with the exception.

Note:
May be NULL, if the error is not associated with an invalid character encountered during decoding.


The documentation for this class was generated from the following file:

b64 Library documentation © Synesis Software Pty Ltd, 2004-2007