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 392 of file XrdClOperationHandlers.hh.

Constructor & Destructor Documentation

◆ PipelineException() [1/2]

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

Constructor from XRootDStatus.

Definition at line 399 of file XrdClOperationHandlers.hh.

399 : error( error ), strerr( error.ToString() )
400 {
401
402 }

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 407 of file XrdClOperationHandlers.hh.

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

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 433 of file XrdClOperationHandlers.hh.

434 {
435 return error;
436 }

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 415 of file XrdClOperationHandlers.hh.

416 {
417 error = ex.error;
418 strerr = ex.strerr;
419 return *this;
420 }

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 425 of file XrdClOperationHandlers.hh.

426 {
427 return strerr.c_str();
428 }

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