org.sblim.wbem.client.indications
Class CIMError
java.lang.Object
org.sblim.wbem.client.indications.CIMError
public class CIMError
extends java.lang.Object
CIMError.java
(C) Copyright IBM Corp. 2005, 2009
THIS FILE IS PROVIDED UNDER THE TERMS OF THE ECLIPSE PUBLIC LICENSE
("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE
CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT.
You can obtain a current copy of the Eclipse Public License from
http://www.opensource.org/licenses/eclipse-1.0.php
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 status, String msg)
|
CIMError(CIMException pCimException) - Construct a CIMError object from the given CIMException.
|
CIMError
public CIMError()
Construct a CIMError object using the default status (CIM_ERR_FAIL).
CIMError
public CIMError(int pStatus)
Construct a CIMError object with the specified status code.
pStatus
- The status code
CIMError
public CIMError(int status,
String msg)
CIMError
public CIMError(CIMException pCimException)
Construct a CIMError object from the given CIMException.
equals
public boolean equals(Object o)
getCode
public int getCode()
Gets the status code.
getDescription
public String getDescription()
Gets the description associated with this status.
hashCode
public int hashCode()
setCode
public void setCode(int pStatus)
Specifies the status code.
setDescription
public void setDescription(String pDescription)
Specifies the description associated to this status.
toString
public String toString()
Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.