CMS 3D CMS Logo

lat::SystemError Class Reference

Native system error. More...

#include <Iguana/Utilities/classlib/utils/SystemError.h>

Inheritance diagram for lat::SystemError:

lat::Error

List of all members.

Public Member Functions

virtual Errorclone (void) const
 Make a deep copy of this exception chain.
int errornum (void) const
virtual std::string explainSelf (void) const
 Explain this exception object.
SysErr::Code portable (void) const
virtual void rethrow (void)
 Rethrow the error to discover its real dynamic type.
 SystemError (Error *next, int syserror, SysErr::Code portable=SysErr::ErrNone)
 SystemError (int syserror, SysErr::Code portable=SysErr::ErrNone)

Static Public Member Functions

static std::string errorString (int error)
static SysErr::Code translateFromErrno (int syserr)
static SysErr::Code translateFromHErrno (int syserr)

Private Attributes

int m_error
SysErr::Code m_portable


Detailed Description

Native system error.

Definition at line 20 of file SystemError.h.


Constructor & Destructor Documentation

lat::SystemError::SystemError ( int  syserror,
SysErr::Code  portable = SysErr::ErrNone 
)

lat::SystemError::SystemError ( Error next,
int  syserror,
SysErr::Code  portable = SysErr::ErrNone 
)


Member Function Documentation

virtual Error* lat::SystemError::clone ( void   )  const [virtual]

Make a deep copy of this exception chain.

Implements lat::Error.

int lat::SystemError::errornum ( void   )  const [inline]

Definition at line 49 of file SystemError.h.

References m_error.

00050 { return m_error; }

static std::string lat::SystemError::errorString ( int  error  )  [static]

virtual std::string lat::SystemError::explainSelf ( void   )  const [virtual]

Explain this exception object.

Implements lat::Error.

SysErr::Code lat::SystemError::portable ( void   )  const [inline]

Definition at line 53 of file SystemError.h.

References m_portable.

Referenced by VisNet::onLocalNotify(), IgNet::onLocalNotify(), DQMNet::onLocalNotify(), VisNet::onPeerData(), DQMNet::onPeerData(), IgNet::onPeerData(), VisNet::run(), IgNet::run(), and DQMNet::run().

00054 { return m_portable; }

virtual void lat::SystemError::rethrow ( void   )  [virtual]

Rethrow the error to discover its real dynamic type.

Implements lat::Error.

static SysErr::Code lat::SystemError::translateFromErrno ( int  syserr  )  [static]

static SysErr::Code lat::SystemError::translateFromHErrno ( int  syserr  )  [static]


Member Data Documentation

int lat::SystemError::m_error [private]

Definition at line 41 of file SystemError.h.

Referenced by errornum().

SysErr::Code lat::SystemError::m_portable [private]

Definition at line 42 of file SystemError.h.

Referenced by portable().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:48:36 2009 for CMSSW by  doxygen 1.5.4