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, 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)
 
 ~Exception () noexcept override
 
- 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)
 
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="", 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 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) {}
Exception(Code category)
Definition: EDMException.cc:60

◆ ~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.

References m_code.

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

38 { return m_code; }

Member Data Documentation

◆ m_code

uint16_t XrdAdaptor::XrootdException::m_code
private

Definition at line 41 of file XrdRequestManager.h.

Referenced by getCode().