public class CIMError
extends java.lang.Object
Constructor and Description |
---|
CIMError()
Construct a CIMError object using the default status (CIM_ERR_FAIL).
|
CIMError(CIMException pCimException)
Construct a CIMError object from the given CIMException.
|
CIMError(int pStatus)
Construct a CIMError object with the specified status code.
|
CIMError(int status,
java.lang.String msg) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
getCode()
Gets the status code.
|
java.lang.String |
getDescription()
Gets the description associated with this status.
|
int |
hashCode() |
void |
setCode(int pStatus)
Specifies the status code.
|
void |
setDescription(java.lang.String pDescription)
Specifies the description associated to this status.
|
java.lang.String |
toString() |
public CIMError()
public CIMError(CIMException pCimException)
pCimException
- public CIMError(int pStatus)
pStatus
- The status codepublic CIMError(int status, java.lang.String msg)
public int getCode()
public java.lang.String getDescription()
public void setCode(int pStatus)
pStatus
- public void setDescription(java.lang.String pDescription)
pDescription
- public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2005, 2011 IBM Corporation. All Rights Reserved.