Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::RException Class Reference

Base class for all ROOT issued exceptions.

Definition at line 78 of file RError.hxx.

Public Member Functions

 RException (const RError &error)
 
 RException (const RException &other) noexcept
 
 RException (RException &&other)=default
 
const RErrorGetError () const
 
RExceptionoperator= (const RException &other)=default
 
RExceptionoperator= (RException &&other)=default
 

Private Attributes

std::optional< RErrorfError
 

#include <ROOT/RError.hxx>

Inheritance diagram for ROOT::RException:
[legend]

Constructor & Destructor Documentation

◆ RException() [1/3]

ROOT::RException::RException ( const RError & error)
inlineexplicit

Definition at line 82 of file RError.hxx.

◆ RException() [2/3]

ROOT::RException::RException ( const RException & other)
inlinenoexcept

Definition at line 83 of file RError.hxx.

◆ RException() [3/3]

ROOT::RException::RException ( RException && other)
default

Member Function Documentation

◆ GetError()

const RError & ROOT::RException::GetError ( ) const
inline

Definition at line 99 of file RError.hxx.

◆ operator=() [1/2]

RException & ROOT::RException::operator= ( const RException & other)
default

◆ operator=() [2/2]

RException & ROOT::RException::operator= ( RException && other)
default

Member Data Documentation

◆ fError

std::optional<RError> ROOT::RException::fError
private

Definition at line 79 of file RError.hxx.

Libraries for ROOT::RException:

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