exception.hpp File Reference

#include <string>
#include <exception>
#include <stdexcept>
#include <iostream>
#include <s11n.net/s11n/s11n_config.hpp>

Go to the source code of this file.

Namespaces

namespace  s11n

Classes

struct  s11n::source_info
 source_info simplifies the collection of source file information for purposes of wrapping the info into exception strings. More...
struct  s11n::s11n_exception
 The base-most exception type used by s11n. More...
struct  s11n::factory_exception
 An exception type for classloader-related exceptions. More...
struct  s11n::io_exception
 Really for use by clients, i/o layers, and s11nlite, not by the s11n core. More...

Defines

#define s11n_net_s11n_v1_3_EXCEPTION_HPP_INCLUDED   1
#define S11N_CURRENT_FUNCTION   __FUNCTION__
#define S11N_SOURCEINFO   s11n::source_info(__FILE__,__LINE__,S11N_CURRENT_FUNCTION)

Functions

std::ostream & s11n::operator<< (std::ostream &os, source_info const &si)
 Sends si.file():si.line():si.func() to os and returns os.


Define Documentation

#define S11N_CURRENT_FUNCTION   __FUNCTION__

Definition at line 27 of file exception.hpp.

#define s11n_net_s11n_v1_3_EXCEPTION_HPP_INCLUDED   1

Definition at line 2 of file exception.hpp.

#define S11N_SOURCEINFO   s11n::source_info(__FILE__,__LINE__,S11N_CURRENT_FUNCTION)

Definition at line 34 of file exception.hpp.

Referenced by s11n::cpp0x::deserialize_group(), s11n::cpp0x::deserialize_versioned(), s11n::Detail::auto_ptr< T >::operator *(), s11n::cleanup_ptr< SerializableT >::operator *(), and s11n::base64::bindata_deser::operator()().


Generated on Wed Jun 4 21:44:19 2008 for libs11n by  doxygen 1.5.3