Sun WBEM SDK Developer's Guide

Exception Classes

The Exception classes represent the error conditions that can occur in Sun WBEM SDK classes. The CIMException class is the base class for CIM exceptions. All other CIM exception classes extend from the CIMException class.

The following table describes the CIM exception classes.

Table 3–2 Exception Classes

Class 

Description 

CIMClassException

A semantic exception that occurs in a CIM class. The MOF Compiler (mofc) uses this class to handle semantic errors found during compilation.

CIMException

Exceptional CIM conditions. This is the base class for CIM exceptions. 

CIMInstanceException

Semantic exceptions that occur in a CIM instance. 

CIMMethodException

Semantic exceptions that occur in a CIM method. 

CIMNameSpaceException

Semantic exceptions that occur in a CIM namespace. 

CIMPropertyException

Semantic exceptions that occur in a CIM property. 

CIMProviderException

Exceptional conditions that can occur in the CIM Object Manager's providers. 

CIMQualifierTypeException

Exceptional conditions that can occur in a CIM qualifier type. 

CIMRepositoryException

Exceptional conditions that can occur in the CIM repository. 

CIMSemanticException

Semantic exceptions that can occur in a CIM element. These exceptions are generally thrown when the CIM Object Manager tries to add, modify, or delete a CIM element and encounters situations that are illegal according to the CIM Specification. 

CIMTransportException

Exceptional conditions that occur in the CIM transport interfaces (RMI and XML).