org.eclipse.ecf.provider.remoteservice.generic
Class Response
java.lang.Object
org.eclipse.ecf.provider.remoteservice.generic.Response
- All Implemented Interfaces:
- java.io.Serializable
public class Response
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Constructor Summary |
Response(long requestId,
java.lang.Object response)
|
Response(long requestId,
java.lang.Throwable exception)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Response
public Response(long requestId,
java.lang.Object response)
Response
public Response(long requestId,
java.lang.Throwable exception)
getRequestId
public long getRequestId()
getResponse
public java.lang.Object getResponse()
hadException
public boolean hadException()
getException
public java.lang.Throwable getException()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object