|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.otfeed.event.OTError
public final class OTError
This class provides error information.
| Constructor Summary | |
|---|---|
OTError()
Default constructor. |
|
OTError(int requestId,
int code,
java.lang.String description)
Constructor. |
|
| Method Summary | |
|---|---|
int |
getCode()
|
java.lang.String |
getDescription()
|
int |
getRequestId()
|
void |
setCode(int code)
Sets error code. |
void |
setDescription(java.lang.String description)
Sets description of the error. |
void |
setRequestId(int requestId)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OTError()
public OTError(int requestId,
int code,
java.lang.String description)
requestId - ID of the request which caused the error.code - Error code.description - Description of the error.| Method Detail |
|---|
public int getRequestId()
public void setRequestId(int requestId)
public int getCode()
public void setCode(int code)
code - Error code.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - Description of the error.public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||