version 1.9, 2006/01/30 16:18:31
|
version 1.10, 2006/11/14 18:34:59
|
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// Author: Jenny Yu, Hewlett-Packard Company (jenny_yu@hp.com) |
|
// |
|
// Modified By: |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
| |
|
|
#ifndef Pegasus_ShutdownExceptions_h | #ifndef Pegasus_ShutdownExceptions_h |
#define Pegasus_ShutdownExceptions_h | #define Pegasus_ShutdownExceptions_h |
| |
|
#include <Pegasus/Common/MessageLoader.h> |
#include <Pegasus/Common/Exception.h> | #include <Pegasus/Common/Exception.h> |
#include <Pegasus/Server/Linkage.h> | #include <Pegasus/Server/Linkage.h> |
| |
// l10n |
|
#include <Pegasus/Common/MessageLoader.h> |
|
|
|
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
/** | /** |
|
|
class PEGASUS_SERVER_LINKAGE InvalidOperationTimeoutException: public Exception | class PEGASUS_SERVER_LINKAGE InvalidOperationTimeoutException: public Exception |
{ | { |
public: | public: |
|
|
// l10n |
|
|
|
InvalidOperationTimeoutException() | InvalidOperationTimeoutException() |
: Exception(MessageLoaderParms("Server.ShutdownExceptions.INVALID_TIMEOUT", "Invalid operation timeout value.")) { } |
: Exception(MessageLoaderParms( |
|
"Server.ShutdownExceptions.INVALID_TIMEOUT", |
// InvalidOperationTimeoutException() |
"Invalid operation timeout value.")) |
// : Exception("Invalid operation timeout value.") { } |
{ |
|
} |
}; | }; |
| |
/** | /** |
|
|
class PEGASUS_SERVER_LINKAGE UnableToResumeServerException: public Exception | class PEGASUS_SERVER_LINKAGE UnableToResumeServerException: public Exception |
{ | { |
public: | public: |
|
|
// l10n |
|
|
|
UnableToResumeServerException() | UnableToResumeServerException() |
: Exception(MessageLoaderParms("Server.ShutdownExceptions.UNABLE_TO_RESUME", "Unable to resume CIM server.")) { } |
: Exception(MessageLoaderParms( |
|
"Server.ShutdownExceptions.UNABLE_TO_RESUME", |
// UnableToResumeServerException() |
"Unable to resume CIM server.")) |
// : Exception("Unable to resume CIM server.") { } |
{ |
|
} |
}; | }; |
| |
/** | /** |
|
|
class PEGASUS_SERVER_LINKAGE ServerResumedException: public Exception | class PEGASUS_SERVER_LINKAGE ServerResumedException: public Exception |
{ | { |
public: | public: |
|
|
// l10n |
|
|
|
ServerResumedException() | ServerResumedException() |
: Exception(MessageLoaderParms("Server.ShutdownExceptions.TIMEOUT_EXPIRED", "Timeout has expired. Server has resumed operation.")) { } |
: Exception(MessageLoaderParms( |
|
"Server.ShutdownExceptions.TIMEOUT_EXPIRED", |
// ServerResumedException() |
"Timeout has expired. Server has resumed operation.")) |
// : Exception("Timeout has expired. Server has resumed operation.") { } |
{ |
|
} |
}; | }; |
| |
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |