3 kumpf 1.3 // Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Company, IBM,
|
4 mike 1.2 // The Open Group, Tivoli Systems
5 //
6 // Permission is hereby granted, free of charge, to any person obtaining a copy
7 // of this software and associated documentation files (the "Software"), to
8 // deal in the Software without restriction, including without limitation the
9 // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10 // sell copies of the Software, and to permit persons to whom the Software is
11 // furnished to do so, subject to the following conditions:
|
13 mike 1.2 // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
14 // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
15 // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
16 // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
17 // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
18 // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
19 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 //
22 //==============================================================================
23 //
24 // Author: Jenny Yu, Hewlett-Packard Company (jenny_yu@hp.com)
25 //
26 // Modified By:
27 //
28 //%/////////////////////////////////////////////////////////////////////////////
29
30
31 ////////////////////////////////////////////////////////////////////////////////
32 // This file contains the exception classes used in the Shutdown Service.
33 ////////////////////////////////////////////////////////////////////////////////
34 mike 1.2
35 #ifndef Pegasus_ShutdownExceptions_h
36 #define Pegasus_ShutdownExceptions_h
37
38 #include <Pegasus/Common/Exception.h>
39
40 PEGASUS_NAMESPACE_BEGIN
41
42 /**
43 InvalidOperationTimeoutException class
44 */
45 class PEGASUS_SERVER_LINKAGE InvalidOperationTimeoutException: public Exception
46 {
47 public:
48 InvalidOperationTimeoutException()
49 : Exception("Invalid operation timeout value.") { }
50 };
51
52 /**
53 UnableToResumeServerException class
54 */
55 mike 1.2 class PEGASUS_SERVER_LINKAGE UnableToResumeServerException: public Exception
56 {
57 public:
58 UnableToResumeServerException()
59 : Exception("Unable to resume CIM server.") { }
60 };
61
62 /**
63 ServerResumedException class
64 */
65 class PEGASUS_SERVER_LINKAGE ServerResumedException: public Exception
66 {
67 public:
68 ServerResumedException()
69 : Exception("Timeout has expired. Server has resumed operation.") { }
70 };
71
72 PEGASUS_NAMESPACE_END
73
74 #endif /* Pegasus_ShutdownExceptions_h */
|