XRootD
Loading...
Searching...
No Matches
XrdCl::PipelineException Class Reference

Pipeline exception, wrapps an XRootDStatus. More...

#include <XrdClOperationHandlers.hh>

+ Inheritance diagram for XrdCl::PipelineException:
+ Collaboration diagram for XrdCl::PipelineException:

Public Member Functions

 PipelineException (const PipelineException &ex)
 Copy constructor.
 
 PipelineException (const XRootDStatus &error)
 Constructor from XRootDStatus.
 
const XRootDStatusGetError () const
 
PipelineExceptionoperator= (const PipelineException &ex)
 Assigment operator.
 
const char * what () const noexcept
 inherited from std::exception
 

Detailed Description

Pipeline exception, wrapps an XRootDStatus.

Definition at line 400 of file XrdClOperationHandlers.hh.

Constructor & Destructor Documentation

◆ PipelineException() [1/2]

XrdCl::PipelineException::PipelineException ( const XRootDStatus & error)
inline

Constructor from XRootDStatus.

Definition at line 407 of file XrdClOperationHandlers.hh.

407 : error( error ), strerr( error.ToString() )
408 {
409
410 }

Referenced by PipelineException(), and operator=().

+ Here is the caller graph for this function:

◆ PipelineException() [2/2]

XrdCl::PipelineException::PipelineException ( const PipelineException & ex)
inline

Copy constructor.

Definition at line 415 of file XrdClOperationHandlers.hh.

415 : error( ex.error ), strerr( ex.error.ToString() )
416 {
417
418 }

References PipelineException().

+ Here is the call graph for this function:

Member Function Documentation

◆ GetError()

const XRootDStatus & XrdCl::PipelineException::GetError ( ) const
inline
Returns
: the XRootDStatus

Definition at line 441 of file XrdClOperationHandlers.hh.

442 {
443 return error;
444 }

Referenced by DoStat().

+ Here is the caller graph for this function:

◆ operator=()

PipelineException & XrdCl::PipelineException::operator= ( const PipelineException & ex)
inline

Assigment operator.

Definition at line 423 of file XrdClOperationHandlers.hh.

424 {
425 error = ex.error;
426 strerr = ex.strerr;
427 return *this;
428 }

References PipelineException().

+ Here is the call graph for this function:

◆ what()

const char * XrdCl::PipelineException::what ( ) const
inlinenoexcept

inherited from std::exception

Definition at line 433 of file XrdClOperationHandlers.hh.

434 {
435 return strerr.c_str();
436 }

The documentation for this class was generated from the following file: