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

Diff for /pegasus/src/Pegasus/Provider/ProviderException.h between version 1.12 and 1.13

version 1.12, 2002/06/01 00:57:16 version 1.13, 2002/06/03 22:42:04
Line 35 
Line 35 
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
   /**
   Parent class for exceptions thrown by providers.
   
   <p>The <tt>OperationFailure</tt> class is an exception class,
   and the parent class from which exceptions that can be thrown
   by providers are derived. It may also be thrown directly by
   providers to signal a generic operation failure.</p>
   
   <p>Providers do not throw every possible exception that clients
   may received from the CIMOM. The exceptions which may be thrown
   by providers are a subset of the possible exceptions, and are
   described in their respective sections.</p>
   
   <p>All of the provider exceptions accept a <tt>message</tt>
   argument that allows the provider to send additional text
   in the string that will be returned to the client. While
   localization of text is not currently supported, it is
   recommended that text strings be structured in message
   catalogs to facilitate future localization.</p>
   */
 class OperationFailure : public CIMException class OperationFailure : public CIMException
 { {
 public: public:
       /**
       Generic operation failure.
   
       <p>This exception will cause a <tt>CIM_ERR_FAILED</tt>
       status code to be returned to the client.</p>
       */
     OperationFailure(const String & message) : CIMException(CIM_ERR_FAILED, message)     OperationFailure(const String & message) : CIMException(CIM_ERR_FAILED, message)
     {     {
     }     }
Line 48 
Line 74 
     }     }
 }; };
  
   /**
   Cause a <tt>CIM_ERR_NOT_SUPPORTED</tt> status code to be
   returned to the client.
   */
 class NotSupported : public OperationFailure class NotSupported : public OperationFailure
 { {
 public: public:
Line 56 
Line 86 
     }     }
 }; };
  
   /**
   Cause a <tt>CIM_ERR_ACCESS_DENIED</tt> status code to be
   returned to the client.
   */
 class AccessDenied : public OperationFailure class AccessDenied : public OperationFailure
 { {
 public: public:
Line 64 
Line 98 
     }     }
 }; };
  
   /**
   Cause a <tt>CIM_ERR_INVALID_PARAMETER</tt> status code to be
   returned to the client.
   */
 class InvalidParameter : public OperationFailure class InvalidParameter : public OperationFailure
 { {
 public: public:
Line 72 
Line 110 
     }     }
 }; };
  
   /**
   Cause a <tt>CIM_ERR_INVALID_CLASS</tt> status code to be
   returned to the client.
   */
 class InvalidClass : public OperationFailure class InvalidClass : public OperationFailure
 { {
 public: public:
Line 80 
Line 122 
     }     }
 }; };
  
   /**
   Cause a <tt>CIM_ERR_INVALID_QUERY</tt> status code to be
   returned to the client.
   */
 class InvalidQuery : public OperationFailure class InvalidQuery : public OperationFailure
 { {
 public: public:
Line 88 
Line 134 
     }     }
 }; };
  
   /**
   Cause a <tt>CIM_ERR_ALREADY_EXISTS</tt> status code to be
   returned to the client.
   */
 class ObjectAlreadyExists : public OperationFailure class ObjectAlreadyExists : public OperationFailure
 { {
 public: public:
Line 96 
Line 146 
     }     }
 }; };
  
   /**
   Cause a <tt>CIM_ERR_NOT_FOUND</tt> status code to be
   returned to the client.
   */
 class ObjectNotFound : public OperationFailure class ObjectNotFound : public OperationFailure
 { {
 public: public:
Line 104 
Line 158 
     }     }
 }; };
  
   /**
   Cause a <tt>CIM_ERR_METHOD_NOT_FOUND</tt> status code to be
   returned to the client.
   */
 class MethodNotFound : public OperationFailure class MethodNotFound : public OperationFailure
 { {
 public: public:
Line 112 
Line 170 
     }     }
 }; };
  
   /**
   Cause a <tt>CIM_ERR_NO_SUCH_PROPERTY</tt> status code to be
   returned to the client.
   */
 class PropertyNotFound : public OperationFailure class PropertyNotFound : public OperationFailure
 { {
 public: public:


Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2