CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
XrdAdaptor::XrootdException Class Reference

#include <XrdRequestManager.h>

Inheritance diagram for XrdAdaptor::XrootdException:
edm::Exception cms::Exception

Public Member Functions

uint16_t getCode ()
 
 XrootdException (XrdCl::Status &xrootd_status, edm::Exception::Code code)
 
virtual ~XrootdException () throw ()
 
- Public Member Functions inherited from edm::Exception
Code categoryCode () const
 
virtual Exceptionclone () const
 
 Exception (Code category)
 
 Exception (Code category, std::string const &message)
 
 Exception (Code category, char const *message)
 
 Exception (Code category, std::string const &message, cms::Exception const &another)
 
 Exception (Code category, char const *message, cms::Exception const &another)
 
 Exception (Exception const &other)
 
Exceptionoperator= (Exception const &other)
 
void swap (Exception &other)
 
virtual ~Exception () throw ()
 
- Public Member Functions inherited from cms::Exception
void addAdditionalInfo (std::string const &info)
 
void addAdditionalInfo (char const *info)
 
void addContext (std::string const &context)
 
void addContext (char const *context)
 
std::list< std::string > const & additionalInfo () const
 
bool alreadyPrinted () const
 
void append (Exception const &another)
 
void append (std::string const &more_information)
 
void append (char const *more_information)
 
std::string const & category () const
 
void clearAdditionalInfo ()
 
void clearContext ()
 
void clearMessage ()
 
std::list< std::string > const & context () const
 
 Exception (std::string const &aCategory)
 
 Exception (char const *aCategory)
 
 Exception (std::string const &aCategory, std::string const &message)
 
 Exception (char const *aCategory, std::string const &message)
 
 Exception (std::string const &aCategory, char const *message)
 
 Exception (char const *aCategory, char const *message)
 
 Exception (std::string const &aCategory, std::string const &message, Exception const &another)
 
 Exception (Exception const &other)
 
virtual std::string explainSelf () const
 
std::list< std::string > history () const
 
std::string message () const
 
Exceptionoperator= (Exception const &other)
 
void raise ()
 
int returnCode () const
 
void setAdditionalInfo (std::list< std::string > const &info)
 
void setAlreadyPrinted (bool value)
 
void setContext (std::list< std::string > const &context)
 
void swap (Exception &other)
 
virtual char const * what () const throw ()
 

Private Attributes

uint16_t m_code
 

Additional Inherited Members

- Public Types inherited from edm::Exception
typedef errors::ErrorCodes Code
 
- Static Public Member Functions inherited from edm::Exception
static const std::string & codeToString (Code)
 -----------— implementation details ---------------— More...
 
static void throwThis (Code category, char const *message0="", char const *message1="", char const *message2="", char const *message3="", char const *message4="")
 
static void throwThis (Code category, char const *message0, int intVal, char const *message2="")
 

Detailed Description

Definition at line 36 of file XrdRequestManager.h.

Constructor & Destructor Documentation

XrdAdaptor::XrootdException::XrootdException ( XrdCl::Status &  xrootd_status,
edm::Exception::Code  code 
)
inline

Definition at line 40 of file XrdRequestManager.h.

41  : Exception(code), m_code(xrootd_status.code)
42  {}
Exception(Code category)
Definition: EDMException.cc:55
virtual XrdAdaptor::XrootdException::~XrootdException ( )
throw (
)
inlinevirtual

Definition at line 44 of file XrdRequestManager.h.

44 {};

Member Function Documentation

uint16_t XrdAdaptor::XrootdException::getCode ( )
inline

Definition at line 46 of file XrdRequestManager.h.

Referenced by XrdAdaptor::ClientRequest::HandleResponse(), and XrdFile::readv().

46 { return m_code; }

Member Data Documentation

uint16_t XrdAdaptor::XrootdException::m_code
private

Definition at line 50 of file XrdRequestManager.h.