version 1.53, 2002/08/16 22:48:29
|
version 1.55, 2002/08/20 17:39:37
|
|
|
{ | { |
} | } |
| |
Exception::Exception(const char* message) : _message(message) |
Exception::~Exception() |
{ | { |
} | } |
| |
Exception::~Exception() |
const String& Exception::getMessage() const |
{ | { |
|
return _message; |
} | } |
| |
| |
const char OutOfBounds::MSG[] = "out of bounds"; |
IndexOutOfBoundsException::IndexOutOfBoundsException() |
|
: Exception("index out of bounds") |
const char AlreadyExists::MSG[] = "already exists: "; |
{ |
|
} |
const char IllegalName::MSG[] = "illegal CIM name"; |
|
| |
const char IllegalNamespaceName::MSG[] = "illegal CIM namespace name"; |
AlreadyExistsException::AlreadyExistsException(const String& message) |
|
: Exception("already exists: " + message) |
|
{ |
|
} |
| |
const char UninitializedHandle::MSG[] = "uninitialized handle"; |
InvalidNameException::InvalidNameException(const String& name) |
|
: Exception("invalid CIM name: " + name) |
|
{ |
|
} |
| |
const char UninitializedObject::MSG[] = "uninitialized object"; |
InvalidNamespaceNameException::InvalidNamespaceNameException(const String& name) |
|
: Exception("invalid CIM namespace name: " + name) |
|
{ |
|
} |
| |
const char AddedReferenceToClass::MSG[] = |
UninitializedHandleException::UninitializedHandleException() |
"attempted to add reference to a non-association class: "; |
: Exception("uninitialized handle") |
|
{ |
|
} |
| |
const char TruncatedCharacter::MSG[] = |
UninitializedObjectException::UninitializedObjectException() |
"truncated character during conversion from Char16 to char"; |
: Exception("uninitialized object") |
|
{ |
|
} |
| |
const char ExpectedReferenceValue::MSG[] = |
ExpectedReferenceValueException::ExpectedReferenceValueException() |
"Expected CIMValue object to be of type reference " |
: Exception("Expected CIMValue object to be of type reference " |
"in this context"; |
"in this context") |
|
{ |
|
} |
| |
const char MissingReferenceClassName::MSG[] = "missing reference class name"; |
MissingReferenceClassNameException::MissingReferenceClassNameException() |
|
: Exception("missing reference class name") |
|
{ |
|
} |
| |
const char TypeMismatch::MSG[] = "type mismatch"; |
TypeMismatchException::TypeMismatchException() |
|
: Exception("type mismatch") |
|
{ |
|
} |
| |
const char CIMValueInvalidType::MSG[] = "invalid CIMValue type"; |
CIMValueInvalidTypeException::CIMValueInvalidTypeException() |
|
: Exception("invalid CIMValue type") |
|
{ |
|
} |
| |
const char DynamicCastFailed::MSG[] = "dynamic cast failed"; |
DynamicCastFailedException::DynamicCastFailedException() |
|
: Exception("dynamic cast failed") |
|
{ |
|
} |
| |
const char BadDateTimeFormat::MSG[] = "bad datetime format"; |
InvalidDateTimeFormatException::InvalidDateTimeFormatException() |
|
: Exception("invalid datetime format") |
|
{ |
|
} |
| |
const char IncompatibleTypes::MSG[] = "incompatible types"; |
IncompatibleTypesException::IncompatibleTypesException() |
|
: Exception("incompatible types") |
|
{ |
|
} |
| |
const char IllformedObjectName::MSG[] = "illformed object name: "; |
MalformedObjectNameException::MalformedObjectNameException( |
|
const String& objectName) |
|
: Exception("malformed object name: " + objectName) |
|
{ |
|
} |
| |
const char BindFailedException::MSG[] = "Bind failed: "; |
BindFailedException::BindFailedException(const String& message) |
|
: Exception("Bind failed: " + message) |
|
{ |
|
} |
| |
const char InvalidLocatorException::MSG[] = "Invalid locator: "; |
InvalidLocatorException::InvalidLocatorException(const String& locator) |
|
: Exception("Invalid locator: " + locator) |
|
{ |
|
} |
| |
const char CannotCreateSocketException::MSG[] = "Cannot create socket"; |
CannotCreateSocketException::CannotCreateSocketException() |
|
: Exception("Cannot create socket") |
|
{ |
|
} |
| |
const char CannotConnectException::MSG[] = "Cannot connect to: "; |
CannotConnectException::CannotConnectException(const String& locator) |
|
: Exception("Cannot connect to: " + locator) |
|
{ |
|
} |
| |
const char UnexpectedFailureException::MSG[] = "Unexpected failure"; |
UnexpectedFailureException::UnexpectedFailureException() |
|
: Exception("Unexpected failure") |
|
{ |
|
} |
| |
const char AlreadyConnectedException::MSG[] = "already connected"; |
AlreadyConnectedException::AlreadyConnectedException() |
|
: Exception("already connected") |
|
{ |
|
} |
| |
const char NotConnectedException::MSG[] = "not connected"; |
NotConnectedException::NotConnectedException() |
|
: Exception("not connected") |
|
{ |
|
} |
| |
const char ConnectionTimeoutException::MSG[] = "connection timed out"; |
ConnectionTimeoutException::ConnectionTimeoutException() |
|
: Exception("connection timed out") |
|
{ |
|
} |
| |
const char SSLException::MSG[] = "SSL Exception "; |
SSLException::SSLException(const String& message) |
|
: Exception("SSL Exception: " + message) |
|
{ |
|
} |
| |
| |
//////////////////////////////////////////////////////////////////////////////// | //////////////////////////////////////////////////////////////////////////////// |