public class Result extends java.lang.Object implements RegistryObject
Constructor and Description |
---|
Result() |
Result(int errno) |
Result(int errno,
ErrInfo errInfo) |
Result(int errno,
java.lang.String errCode,
java.lang.String errMsg) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getErrCode()
Returns the exception code of this ErrInfo.
|
ErrInfo |
getErrInfo() |
int |
getErrno()
Returns the exception number of this disposition report.
|
java.lang.String |
getErrText()
Returns the error text of this ErrInfo.
|
static java.lang.String |
lookupErrCode(int errno) |
static java.lang.String |
lookupErrText(int errno) |
void |
setErrCode(java.lang.String errCode)
Sets the exception code of this ErrInfo to the given value.
|
void |
setErrInfo(ErrInfo info) |
void |
setErrno(int nmbr)
Sets the exception number of this disposition report to the given value.
|
void |
setErrno(java.lang.String nmbr)
Sets the exception number of this disposition report to the given value.
|
void |
setErrText(java.lang.String errText)
Sets the exception message of this ErrInfo to the given value.
|
java.lang.String |
toString() |
public static final int E_ASSERTION_NOT_FOUND
public static final int E_AUTH_TOKEN_EXPIRED
public static final int E_AUTH_TOKEN_REQUIRED
public static final int E_ACCOUNT_LIMIT_EXCEEDED
public static final int E_BUSY
public static final int E_CATEGORIZATION_NOT_ALLOWED
public static final int E_FATAL_ERROR
public static final int E_INVALID_KEY_PASSED
public static final int E_INVALID_PROJECTION
public static final int E_INVALID_CATEGORY
public static final int E_INVALID_COMPLETION_STATUS
public static final int E_INVALID_URL_PASSED
public static final int E_INVALID_VALUE
public static final int E_KEY_RETIRED
public static final int E_LANGUAGE_ERROR
public static final int E_MESSAGE_TOO_LARGE
public static final int E_NAME_TOO_LONG
public static final int E_OPERATOR_MISMATCH
public static final int E_PUBLISHER_CANCELLED
public static final int E_REQUEST_DENIED
public static final int E_SECRET_UNKNOWN
public static final int E_SUCCESS
public static final int E_TOO_MANY_OPTIONS
public static final int E_TRANSFER_ABORTED
public static final int E_UNRECOGNIZED_VERSION
public static final int E_UNKNOWN_USER
public static final int E_UNSUPPORTED
public static final int E_USER_MISMATCH
public static final int E_VALUE_NOT_ALLOWED
public static final int E_UNVALIDATABLE
public static final int E_REQUEST_TIMEOUT
public static final int E_INVALID_TIME
public static final int E_RESULT_SET_TOO_LARGE
public Result()
public Result(int errno)
public Result(int errno, ErrInfo errInfo)
public Result(int errno, java.lang.String errCode, java.lang.String errMsg)
public void setErrno(int nmbr)
nmbr
- The new exception number for this disposition report.public void setErrno(java.lang.String nmbr)
nmbr
- The new exception number for this disposition report.public int getErrno()
public void setErrInfo(ErrInfo info)
public ErrInfo getErrInfo()
public void setErrCode(java.lang.String errCode)
errcode
- The new code number for this ErrInfo.public java.lang.String getErrCode()
public void setErrText(java.lang.String errText)
msg
- The new exception message for this ErrInfo.public java.lang.String getErrText()
public java.lang.String toString()
toString
in class java.lang.Object
public static final java.lang.String lookupErrCode(int errno)
public static final java.lang.String lookupErrText(int errno)
Copyright ? 2003 Apache Software Foundation. All rights reserved.