public class ErrInfo extends java.lang.Object implements RegistryObject
Constructor and Description |
---|
ErrInfo() |
ErrInfo(java.lang.String code) |
ErrInfo(java.lang.String code,
java.lang.String msg) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getErrCode()
Returns the exception code of this ErrInfo.
|
java.lang.String |
getErrMsg()
Returns the exception message of this ErrInfo.
|
void |
setErrCode(java.lang.String code)
Sets the exception code of this ErrInfo to the given value.
|
void |
setErrMsg(java.lang.String msg)
Sets the exception message of this ErrInfo to the given value.
|
public ErrInfo()
public ErrInfo(java.lang.String code)
public ErrInfo(java.lang.String code, java.lang.String msg)
public void setErrCode(java.lang.String code)
code
- The new code number for this ErrInfo.public java.lang.String getErrCode()
public void setErrMsg(java.lang.String msg)
msg
- The new exception message for this ErrInfo.public java.lang.String getErrMsg()
Copyright ? 2003 Apache Software Foundation. All rights reserved.