|
|||||||||
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
Exception class representing semantic exceptions that occur in a CIM element. These exceptions are generally thrown when the CIMOM tries to add/modify/delete CIM elements and encounters situations that are illegal according to the CIM spec.
Field Summary | |
static java.lang.String |
INVALID_QUALIFIER_NAME
Invalid qualifier name. |
static java.lang.String |
NO_QUALIFIER_VALUE
The qualifier does not have a value. |
static java.lang.String |
NO_SUCH_QUALIFIER1
No such qualifier exception, but where we do not care which particular element is causing it. |
static java.lang.String |
NO_SUCH_QUALIFIER2
No such qualifier exception. |
static java.lang.String |
QUALIFIER_UNOVERRIDABLE
An element tries to override a qualifier that has a DisableOverride flavor. |
static java.lang.String |
SCOPE_ERROR
Scope error exception. |
static java.lang.String |
TYPE_ERROR
Type cast exception. |
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 | |
CIMSemanticException()
Creates a CIMSemanticException with no detail message. |
|
CIMSemanticException(java.lang.String ID)
Creates a CIMSemanticException with the specified detail message. |
|
CIMSemanticException(java.lang.String s,
java.lang.Object param)
Creates a CIMSemanticException with the specified detail message and one exception parameter. |
|
CIMSemanticException(java.lang.String s,
java.lang.Object[] param)
Creates a CIMSemanticException with the specified detail message and an array of exception parameters. |
|
CIMSemanticException(java.lang.String s,
java.lang.Object param1,
java.lang.Object param2)
Creates a CIMSemanticException with the specified detail message and two exception parameters. |
|
CIMSemanticException(java.lang.String s,
java.lang.Object param1,
java.lang.Object param2,
java.lang.Object param3)
Creates a CIMSemanticException 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 NO_SUCH_QUALIFIER2
public static final java.lang.String NO_SUCH_QUALIFIER1
public static final java.lang.String SCOPE_ERROR
public static final java.lang.String NO_QUALIFIER_VALUE
public static final java.lang.String INVALID_QUALIFIER_NAME
public static final java.lang.String QUALIFIER_UNOVERRIDABLE
public static final java.lang.String TYPE_ERROR
Constructor Detail |
public CIMSemanticException()
public CIMSemanticException(java.lang.String ID)
s
- the detail message.public CIMSemanticException(java.lang.String s, java.lang.Object param)
s
- the detail message.param
- exception parameter.public CIMSemanticException(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 CIMSemanticException(java.lang.String s, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3)
s
- the detail messageparam1
- first Exception parameter.param2
- second Exception parameter.param3
- third Exception parameter.public CIMSemanticException(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 |