Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | Related Pages

svn::Exception Class Reference

#include <exception.hh>

List of all members.

Public Member Functions

 Exception (svn_error_t *)
 Creates a C++-style error chain from a C one and destroys the C one.

 Exception (const Exception &)
 Creates a deep copy of another C++-style exception.

virtual ~Exception () throw ()
virtual const char * what () const throw ()
svn_error_t * toCStyle ()
 Creates a C-style error chain in the global error pool.


Static Public Member Functions

void handle (svn_error_t *)
 Throws an error if parameter is not SVN_NO_ERROR.


Constructor & Destructor Documentation

svn::Exception::Exception svn_error_t *   )  [explicit]
 

Creates a C++-style error chain from a C one and destroys the C one.

Definition at line 9 of file svn/exception.cc.

Referenced by Exception(), and handle().

svn::Exception::Exception const Exception  ) 
 

Creates a deep copy of another C++-style exception.

*

Definition at line 24 of file svn/exception.cc.

References Exception().

virtual svn::Exception::~Exception  )  throw () [inline, virtual]
 

Definition at line 28 of file svn/exception.hh.


Member Function Documentation

void svn::Exception::handle svn_error_t *   )  [static]
 

Throws an error if parameter is not SVN_NO_ERROR.

Useful for wrapping around functions to the C API.

Definition at line 32 of file svn/exception.cc.

References Exception().

svn_error_t * svn::Exception::toCStyle  ) 
 

Creates a C-style error chain in the global error pool.

*

Definition at line 38 of file svn/exception.cc.

const char * svn::Exception::what  )  const throw () [virtual]
 

Definition at line 46 of file svn/exception.cc.


The documentation for this class was generated from the following files:
Generated on Fri Feb 4 11:13:31 2005 for svnapi++ by doxygen 1.3.5