Exception Class Reference
#include <Exception.h>
Inheritance diagram for Exception:![]()
Public Member Functions
Exception (const String &message) Exception (const Exception &exception) virtual ~Exception () Exception & operator= (const Exception &exception) virtual const String & getMessage () const
Protected Member Functions
Exception ()
Protected Attributes
ExceptionRep * _rep Detailed Description
The Exception class is the base class for exceptions generated by the Pegasus infrastructure.
Constructor & Destructor Documentation
◆ Exception() [1/3]
Exception::Exception ( const String & message ) ◆ Exception() [2/3]
Exception::Exception ( const Exception & exception ) ◆ ~Exception()
virtual Exception::~Exception ( ) virtual Destructs an Exception object.
◆ Exception() [3/3]
Exception::Exception ( ) protected The default constructor is not available for the Exception class.
Member Function Documentation
◆ getMessage()
virtual const String& Exception::getMessage ( ) const virtual Gets the error description message.
- Returns
- A message String containing a description of the error
◆ operator=()
Member Data Documentation
◆ _rep
ExceptionRep* Exception::_rep protected An internal representation of the Exception attributes.
The documentation for this class was generated from the following file:
- /root/rpmbuild/BUILD/pegasus/src/Pegasus/Common/Exception.h