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

atoms::IOBlockError Class Reference

#include <error.hh>

Inheritance diagram for atoms::IOBlockError:

Inheritance graph
[legend]
Collaboration diagram for atoms::IOBlockError:

Collaboration graph
[legend]
List of all members.

Detailed Description

I/O would block.

Definition at line 166 of file error.hh.

Public Types

enum  Type { tRead, tWrite }
 The type of operation that blocked. More...


Public Member Functions

 IOBlockError (const boost::weak_ptr< IOHandle > &d, Type t)
 Constructor.

 ~IOBlockError () throw ()
Type getType () const
virtual boost::shared_ptr<
IOError
clone () const
virtual void throwMe () const
boost::shared_ptr< IOHandlegetSrc () const
 Gets the IOHandle from which it originated or null if it has been destroyed.

virtual char const * what () const throw ()
 Returns a brief description of the error; overridden from std::exception.

void logCaught (DebugLogger &dl, DebugLogger::Level=DebugLogger::lError, const char *extraFmt=NULL,...) const
 Logs that this exception was caught.


Private Attributes

Type t


Member Enumeration Documentation

enum atoms::IOBlockError::Type
 

The type of operation that blocked.

Enumeration values:
tRead 
tWrite 

Definition at line 169 of file error.hh.

Referenced by getType().


Constructor & Destructor Documentation

atoms::IOBlockError::IOBlockError const boost::weak_ptr< IOHandle > &  d,
Type  t
[inline]
 

Constructor.

what is always "Operation would block."

Parameters:
d The I/O handle this error refers to.

Definition at line 179 of file error.hh.

References t.

Referenced by clone().

atoms::IOBlockError::~IOBlockError  )  throw () [inline]
 

Definition at line 181 of file error.hh.


Member Function Documentation

virtual boost::shared_ptr<IOError> atoms::IOBlockError::clone void   )  const [inline, virtual]
 

Reimplemented from atoms::IOError.

Definition at line 185 of file error.hh.

References IOBlockError().

Here is the call graph for this function:

boost::shared_ptr<IOHandle> atoms::IOError::getSrc  )  const [inline, inherited]
 

Gets the IOHandle from which it originated or null if it has been destroyed.

Definition at line 133 of file error.hh.

References atoms::IOError::m_src.

Type atoms::IOBlockError::getType void   )  const [inline]
 

Definition at line 183 of file error.hh.

References t, and Type.

void Error::logCaught DebugLogger dl,
DebugLogger::Level  = DebugLogger::lError,
const char *  extraFmt = NULL,
... 
const [inherited]
 

Logs that this exception was caught.

Definition at line 22 of file error.cc.

References args, atoms::DebugLogger::log(), NULL, and atoms::Error::what().

Here is the call graph for this function:

virtual void atoms::IOBlockError::throwMe  )  const [inline, virtual]
 

Reimplemented from atoms::IOError.

Definition at line 188 of file error.hh.

virtual char const* atoms::Error::what  )  const throw () [inline, virtual, inherited]
 

Returns a brief description of the error; overridden from std::exception.

Reimplemented from std::exception.

Definition at line 64 of file error.hh.

References atoms::Error::what_.

Referenced by atoms::Error::logCaught(), and atoms::ssl::Error::what().


Member Data Documentation

Type atoms::IOBlockError::t [private]
 

Definition at line 190 of file error.hh.

Referenced by getType(), and IOBlockError().


The documentation for this class was generated from the following file:
Generated on Wed Jun 15 01:20:49 2005 for atoms++ by doxygen 1.3.5