|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sblim.cimclient.internal.wbem.CIMError
public class CIMError
Class CIMError is required for IndicationHandling and CIM-XML parsing.
| Constructor Summary | |
|---|---|
CIMError()
Construct a CIMError object using the default status (CIM_ERR_FAIL). |
|
CIMError(int pStatus)
Construct a CIMError object with the specified status code. |
|
CIMError(int pStatus,
String pMsg)
Ctor. |
|
CIMError(int pStatus,
String pMsg,
CIMInstance[] pInstances)
Ctor. |
|
CIMError(WBEMException pEx)
Construct a CIMError object from the given WBEMException. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
CIMInstance[] |
getCIMInstances()
getCIMInstances |
int |
getCode()
Gets the status code. |
String |
getDescription()
Gets the description associated with this status. |
int |
hashCode()
|
void |
setCode(int pStatus)
Specifies the status code. |
void |
setDescription(String pDescription)
Specifies the description associated to this status. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CIMError()
public CIMError(WBEMException pEx)
pEx - public CIMError(int pStatus)
pStatus - The status code
public CIMError(int pStatus,
String pMsg)
pStatus - pMsg -
public CIMError(int pStatus,
String pMsg,
CIMInstance[] pInstances)
pStatus - pMsg - pInstances - | Method Detail |
|---|
public int getCode()
public String getDescription()
public CIMInstance[] getCIMInstances()
public void setCode(int pStatus)
pStatus - public void setDescription(String pDescription)
pDescription - public String toString()
toString in class Objectpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||