|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--com.sun.wbem.cim.CIMException | +--com.sun.wbem.cim.CIMSemanticException | +--com.sun.wbem.cim.CIMClassException
The CIMClassException class represents an error condition that occurs in a CIM class. Errors occur when the CIM Object Manager encounters an error that does not adhere to the guidelines of the CIM Specification. The CIM Object Manager generates CIMClassException when one of these error conditions occur.
Field Summary | |
static java.lang.String |
ABSTRACT_INSTANCE
Instances were programmed for the specified class, but the specified class is abstract. |
static java.lang.String |
CIM_ERR_INVALID_PARAMETER
The specified class name does not follow standard CIM naming conventions. |
static java.lang.String |
CIM_ERR_INVALID_SUPERCLASS
The superclass of the specified class does not exist. |
static java.lang.String |
KEY_REQUIRED
A concrete class is defined without a key. |
static java.lang.String |
REF_REQUIRED
An association class is defined with less than two references. |
Fields inherited from class com.sun.wbem.cim.CIMSemanticException |
INVALID_QUALIFIER_NAME,
NO_QUALIFIER_VALUE,
NO_SUCH_QUALIFIER1,
NO_SUCH_QUALIFIER2,
QUALIFIER_UNOVERRIDABLE,
SCOPE_ERROR,
TYPE_ERROR |
Fields inherited from class com.sun.wbem.cim.CIMException |
CIM_ERR_ALREADY_EXISTS,
CIM_ERR_CLASS_HAS_CHILDREN,
CIM_ERR_CLASS_HAS_INSTANCES,
CIM_ERR_FAILED,
CIM_ERR_INVALID_CLASS,
CIM_ERR_INVALID_NAMESPACE,
CIM_ERR_INVALID_PARAMETER,
CIM_ERR_INVALID_QUERY,
CIM_ERR_LOW_ON_MEMORY,
CIM_ERR_NOT_FOUND,
CIM_ERR_NOT_SUPPORTED,
DEFAULT,
PDEFAULT,
VER_ERROR |
Constructor Summary | |
CIMClassException()
Create a CIMClassException with no detail message. |
|
CIMClassException(java.lang.String s)
Create a CIMClassException with the specified detail message |
|
CIMClassException(java.lang.String s,
java.lang.Object param)
Creates a CIMClassException with the specified detail message and one exception parameter. |
|
CIMClassException(java.lang.String s,
java.lang.Object[] param)
Creates a CIMClassException with the specified detail message and an array of exception parameters. |
|
CIMClassException(java.lang.String s,
java.lang.Object param1,
java.lang.Object param2)
Creates a CIMClassException with the specified detail message and two excep parameters. |
|
CIMClassException(java.lang.String s,
java.lang.Object param1,
java.lang.Object param2,
java.lang.Object param3)
Creates a CIMClassException with the specified detail message and three exception parameters. |
Methods inherited from class com.sun.wbem.cim.CIMException |
getID,
getParams,
getXmlCode,
getXmlCode,
isXmlCode,
setParams,
toString |
Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage,
getMessage,
printStackTrace,
printStackTrace,
printStackTrace |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public static final java.lang.String KEY_REQUIRED
public static final java.lang.String REF_REQUIRED
public static final java.lang.String CIM_ERR_INVALID_PARAMETER
public static final java.lang.String CIM_ERR_INVALID_SUPERCLASS
public static final java.lang.String ABSTRACT_INSTANCE
Constructor Detail |
public CIMClassException()
public CIMClassException(java.lang.String s)
s
- the detail message.public CIMClassException(java.lang.String s, java.lang.Object param)
s
- the detail message.param
- exception parameter.public CIMClassException(java.lang.String s, java.lang.Object param1, java.lang.Object param2)
s
- the detail message.param1
- first Exception parameter.param2
- second Exception parameter.public CIMClassException(java.lang.String s, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3)
s
- the detail message.param1
- first Exception parameter.param2
- second Exception parameter.param3
- third Exception parameter.public CIMClassException(java.lang.String s, java.lang.Object[] param)
s
- the detail message.param
- array of exception parameters
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |