Contents
|
In file ../../src/Pegasus/Common/Exception.h:
The Exception class is the base class for exceptions generated by the Pegasus infrastructure
Documentation
The Exception class is the base class for exceptions generated by the
Pegasus infrastructure
Inheritance:
Public Methods
| Exception (const String& message)
Constructs an Exception with a specified error message.
|
| Exception (const Exception& exception)
Constructs an Exception by copying another Exception object.
|
virtual | ~Exception ()
Destructs an Exception object
|
Exception& | operator= (const Exception& exception)
Assigns the value from a specified Exception object.
|
virtual const String& | getMessage () const
Gets the error description message.
|
Protected Fields
ExceptionRep* | _rep
An internal representation of the Exception attributes
|
Protected Methods
| Exception ()
The default constructor is not available for the Exception class
|
- Exception(const String& message)
-
Constructs an Exception with a specified error message.
- Parameters:
- message - A message String containing a description of the error
- Exception(const Exception& exception)
-
Constructs an Exception by copying another Exception object.
- Parameters:
- exception - The Exception object to copy
- virtual ~Exception()
-
Destructs an Exception object
- Exception& operator=(const Exception& exception)
-
Assigns the value from a specified Exception object.
- Parameters:
- exception - The Exception object to copy
- Returns:
- A reference to this Exception object with the new assignment
- virtual const String& getMessage() const
-
Gets the error description message.
- Returns:
- A message String containing a description of the error
- Exception()
-
The default constructor is not available for the Exception class
- ExceptionRep* _rep
-
An internal representation of the Exception attributes
- Direct child classes:
- UninitializedObjectException
TypeMismatchException
SSLException
NotConnectedException
MalformedObjectNameException
InvalidNamespaceNameException
InvalidNameException
InvalidLocatorException
InvalidDateTimeFormatException
IndexOutOfBoundsException
DynamicCastFailedException
DateTimeOutOfRangeException
ConnectionTimeoutException
CannotCreateSocketException
CannotConnectException
CIMException
BindFailedException
AlreadyExistsException
AlreadyConnectedException
Alphabetic index HTML hierarchy of classes or Java
|