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)
 
 ~XrootdException () noexcept override
 
- Public Member Functions inherited from edm::Exception
Code categoryCode () const
 
Exceptionclone () const override
 
 Exception (Code category)
 
 Exception (Code category, char const *message)
 
 Exception (Code category, char const *message, cms::Exception const &another)
 
 Exception (Code category, std::string const &message)
 
 Exception (Code category, std::string const &message, cms::Exception const &another)
 
 Exception (Exception const &other)
 
Exceptionoperator= (Exception const &other)
 
void swap (Exception &other)
 
 ~Exception () noexcept override
 
- Public Member Functions inherited from cms::Exception
void addAdditionalInfo (char const *info)
 
void addAdditionalInfo (std::string const &info)
 
void addContext (char const *context)
 
void addContext (std::string const &context)
 
std::list< std::string > const & additionalInfo () const
 
bool alreadyPrinted () const
 
void append (char const *more_information)
 
void append (Exception const &another)
 
void append (std::string const &more_information)
 
std::string const & category () const
 
void clearAdditionalInfo ()
 
void clearContext ()
 
void clearMessage ()
 
std::list< std::string > const & context () const
 
 Exception (char const *aCategory)
 
 Exception (char const *aCategory, char const *message)
 
 Exception (char const *aCategory, std::string const &message)
 
 Exception (Exception const &other)
 
 Exception (std::string const &aCategory)
 
 Exception (std::string const &aCategory, char const *message)
 
 Exception (std::string const &aCategory, std::string const &message)
 
 Exception (std::string const &aCategory, std::string const &message, Exception const &another)
 
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)
 
char const * what () const noexcept override
 
 ~Exception () noexcept override
 

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, int intVal, char const *message2="")
 
static void throwThis (Code category, char const *message0="", char const *message1="", char const *message2="", char const *message3="", char const *message4="")
 

Detailed Description

Definition at line 31 of file XrdRequestManager.h.

Constructor & Destructor Documentation

◆ XrootdException()

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

Definition at line 33 of file XrdRequestManager.h.

34  : Exception(code), m_code(xrootd_status.code) {}

◆ ~XrootdException()

XrdAdaptor::XrootdException::~XrootdException ( )
inlineoverridenoexcept

Definition at line 36 of file XrdRequestManager.h.

36 {};

Member Function Documentation

◆ getCode()

uint16_t XrdAdaptor::XrootdException::getCode ( )
inline

Definition at line 38 of file XrdRequestManager.h.

38 { return m_code; }

References m_code.

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

Member Data Documentation

◆ m_code

uint16_t XrdAdaptor::XrootdException::m_code
private

Definition at line 41 of file XrdRequestManager.h.

Referenced by getCode().

edm::Exception::Exception
Exception(Code category)
Definition: EDMException.cc:57
XrdAdaptor::XrootdException::m_code
uint16_t m_code
Definition: XrdRequestManager.h:41