(file) Return to ShutdownExceptions.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Server

 1 martin 1.11 //%LICENSE////////////////////////////////////////////////////////////////
 2 martin 1.12 //
 3 martin 1.11 // Licensed to The Open Group (TOG) under one or more contributor license
 4             // agreements.  Refer to the OpenPegasusNOTICE.txt file distributed with
 5             // this work for additional information regarding copyright ownership.
 6             // Each contributor licenses this file to you under the OpenPegasus Open
 7             // Source License; you may not use this file except in compliance with the
 8             // License.
 9 martin 1.12 //
10 martin 1.11 // Permission is hereby granted, free of charge, to any person obtaining a
11             // copy of this software and associated documentation files (the "Software"),
12             // to deal in the Software without restriction, including without limitation
13             // the rights to use, copy, modify, merge, publish, distribute, sublicense,
14             // and/or sell copies of the Software, and to permit persons to whom the
15             // Software is furnished to do so, subject to the following conditions:
16 martin 1.12 //
17 martin 1.11 // The above copyright notice and this permission notice shall be included
18             // in all copies or substantial portions of the Software.
19 martin 1.12 //
20 martin 1.11 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
21 martin 1.12 // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22 martin 1.11 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
23             // IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
24             // CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
25             // TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
26             // SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27 martin 1.12 //
28 martin 1.11 //////////////////////////////////////////////////////////////////////////
29 mike   1.2  //
30             //%/////////////////////////////////////////////////////////////////////////////
31             
32             
33             ////////////////////////////////////////////////////////////////////////////////
34             //  This file contains the exception classes used in the Shutdown Service.
35             ////////////////////////////////////////////////////////////////////////////////
36             
37             #ifndef Pegasus_ShutdownExceptions_h
38             #define Pegasus_ShutdownExceptions_h
39             
40 kumpf  1.10 #include <Pegasus/Common/MessageLoader.h>
41 mike   1.2  #include <Pegasus/Common/Exception.h>
42 kumpf  1.4  #include <Pegasus/Server/Linkage.h>
43 mike   1.2  
44             PEGASUS_NAMESPACE_BEGIN
45             
46 kumpf  1.10 /**
47                 InvalidOperationTimeoutException class
48 mike   1.2  */
49             class PEGASUS_SERVER_LINKAGE InvalidOperationTimeoutException: public Exception
50             {
51             public:
52                 InvalidOperationTimeoutException()
53 kumpf  1.10         : Exception(MessageLoaderParms(
54                           "Server.ShutdownExceptions.INVALID_TIMEOUT",
55                           "Invalid operation timeout value."))
56                 {
57                 }
58 mike   1.2  };
59             
60 kumpf  1.10 /**
61                 UnableToResumeServerException class
62 mike   1.2  */
63             class PEGASUS_SERVER_LINKAGE UnableToResumeServerException: public Exception
64             {
65             public:
66                 UnableToResumeServerException()
67 kumpf  1.10         : Exception(MessageLoaderParms(
68                           "Server.ShutdownExceptions.UNABLE_TO_RESUME",
69                           "Unable to resume CIM server."))
70                 {
71                 }
72 mike   1.2  };
73             
74 kumpf  1.10 /**
75                 ServerResumedException class
76 mike   1.2  */
77             class PEGASUS_SERVER_LINKAGE ServerResumedException: public Exception
78             {
79             public:
80                 ServerResumedException()
81 kumpf  1.10         : Exception(MessageLoaderParms(
82                           "Server.ShutdownExceptions.TIMEOUT_EXPIRED",
83                           "Timeout has expired.  Server has resumed operation."))
84                 {
85                 }
86 mike   1.2  };
87             
88             PEGASUS_NAMESPACE_END
89             
90             #endif /* Pegasus_ShutdownExceptions_h */

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2