CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
edm::MultipleException Class Reference
Inheritance diagram for edm::MultipleException:
cms::Exception

Public Member Functions

Exceptionclone () const override
 
 MultipleException (int iReturnValue, std::string const &iMessage)
 
- 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 Member Functions

int returnCode_ () const override
 

Private Attributes

int returnValue_
 

Detailed Description

Definition at line 10 of file ExceptionCollector.cc.

Constructor & Destructor Documentation

◆ MultipleException()

edm::MultipleException::MultipleException ( int  iReturnValue,
std::string const &  iMessage 
)
inline

Definition at line 12 of file ExceptionCollector.cc.

13  : cms::Exception("MultipleExceptions", iMessage), returnValue_(iReturnValue) {}

Referenced by clone().

Member Function Documentation

◆ clone()

Exception* edm::MultipleException::clone ( void  ) const
inlineoverridevirtual

Reimplemented from cms::Exception.

Definition at line 15 of file ExceptionCollector.cc.

15 { return new MultipleException(*this); }

References MultipleException().

◆ returnCode_()

int edm::MultipleException::returnCode_ ( ) const
inlineoverrideprivatevirtual

Reimplemented from cms::Exception.

Definition at line 18 of file ExceptionCollector.cc.

18 { return returnValue_; }

References returnValue_.

Member Data Documentation

◆ returnValue_

int edm::MultipleException::returnValue_
private

Definition at line 20 of file ExceptionCollector.cc.

Referenced by returnCode_().

edm::MultipleException::MultipleException
MultipleException(int iReturnValue, std::string const &iMessage)
Definition: ExceptionCollector.cc:12
edm::MultipleException::returnValue_
int returnValue_
Definition: ExceptionCollector.cc:20
Exception
Definition: hltDiff.cc:245