|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.tangosol.io.pof.PortableException
com.tangosol.net.RequestTimeoutException
public class RequestTimeoutException
Signals that a request execution in a distributed environment did not complete in a pre-determined amount of time. For some specific requests this exception could carry a partial execution result.
PriorityTask
Field Summary |
---|
Fields inherited from class com.tangosol.io.pof.PortableException |
---|
m_asStackRemote, m_sMessage, m_sName |
Constructor Summary | |
---|---|
RequestTimeoutException() Constructs a RequestTimeoutException with no detail message. |
|
RequestTimeoutException(String s) Constructs a RequestTimeoutException with the specified detail message. |
|
RequestTimeoutException(String s, Throwable e) Construct a RequestTimeoutException from a Throwable object and an additional description. |
|
RequestTimeoutException(Throwable e) Construct a RequestTimeoutException from a Throwable object. |
Method Summary | |
---|---|
Object |
getPartialResult() Return a partial execution result that may have been assembled prior to the timeout. |
void |
readExternal(PofReader in) Restore the contents of a user type instance by reading its state using the specified PofReader object. |
void |
setPartialResult(Object oPartialResult) Specify a partial execution result. |
void |
writeExternal(PofWriter out) Save the contents of a POF user type instance by writing its state using the specified PofWriter object. |
Methods inherited from class com.tangosol.io.pof.PortableException |
---|
getFullStackTrace, getMessage, getName, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace |
Constructor Detail |
---|
public RequestTimeoutException()
public RequestTimeoutException(String s)
s
- the String that contains a detailed messagepublic RequestTimeoutException(Throwable e)
e
- the Throwable objectpublic RequestTimeoutException(String s, Throwable e)
s
- the additional descriptione
- the Throwable objectMethod Detail |
---|
public Object getPartialResult()
public void setPartialResult(Object oPartialResult)
oPartialResult
- a partial execution resultpublic void readExternal(PofReader in) throws IOException
readExternal
in interface PortableObject
readExternal
in class PortableException
in
- the PofReader from which to read the object's stateIOException
- if an I/O error occurspublic void writeExternal(PofWriter out) throws IOException
writeExternal
in interface PortableObject
writeExternal
in class PortableException
out
- the PofWriter to which to write the object's stateIOException
- if an I/O error occurs
|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |