Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


com.tangosol.net
Class RequestIncompleteException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.tangosol.io.pof.PortableException
                  extended by com.tangosol.net.RequestIncompleteException

All Implemented Interfaces:
PortableObject, java.io.Serializable
Direct Known Subclasses:
RequestTimeoutException

public class RequestIncompleteException
extends PortableException

Signals that a request execution in a distributed environment failed to complete successfully. For some specific requests this exception could carry a partial execution result or failure information.

Since:
Coherence 12.1.3
Author:
bbc 2013.05.14
See Also:
PriorityTask

Field Summary

 

Fields inherited from class com.tangosol.io.pof.PortableException
m_asStackRemote, m_sMessage, m_sName

 

Constructor Summary
RequestIncompleteException()
          Construct a RequestIncompleteException with no detail message.
RequestIncompleteException(java.lang.String s)
          Construct a RequestIncompleteException with the specified detail message.
RequestIncompleteException(java.lang.String s, java.lang.Throwable e)
          Construct a RequestIncompleteException from a Throwable object and an additional description.
RequestIncompleteException(java.lang.Throwable e)
          Construct a RequestIncompleteException from a Throwable object.

 

Method Summary
 java.lang.Object getPartialResult()
          Return a partial execution result that may have been assembled before an exception occurred.
 void readExternal(PofReader in)
          Restore the contents of a user type instance by reading its state using the specified PofReader object.
 void setPartialResult(java.lang.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

RequestIncompleteException

public RequestIncompleteException()
Construct a RequestIncompleteException with no detail message.

RequestIncompleteException

public RequestIncompleteException(java.lang.String s)
Construct a RequestIncompleteException with the specified detail message.
Parameters:
s - the String that contains a detailed message

RequestIncompleteException

public RequestIncompleteException(java.lang.Throwable e)
Construct a RequestIncompleteException from a Throwable object.
Parameters:
e - the Throwable object

RequestIncompleteException

public RequestIncompleteException(java.lang.String s,
                                  java.lang.Throwable e)
Construct a RequestIncompleteException from a Throwable object and an additional description.
Parameters:
s - the additional description
e - the Throwable object

Method Detail

getPartialResult

public java.lang.Object getPartialResult()
Return a partial execution result that may have been assembled before an exception occurred. The result type is specific to a request, most commonly being either of the same Java type as the return value for the corresponding request or a collection of failed keys.
Returns:
a partial execution result

setPartialResult

public void setPartialResult(java.lang.Object oPartialResult)
Specify a partial execution result.
Parameters:
oPartialResult - a partial execution result

readExternal

public void readExternal(PofReader in)
                  throws java.io.IOException
Restore the contents of a user type instance by reading its state using the specified PofReader object.
Specified by:
readExternal in interface PortableObject
Overrides:
readExternal in class PortableException
Parameters:
in - the PofReader from which to read the object's state
Throws:
java.io.IOException - if an I/O error occurs

writeExternal

public void writeExternal(PofWriter out)
                   throws java.io.IOException
Save the contents of a POF user type instance by writing its state using the specified PofWriter object.
Specified by:
writeExternal in interface PortableObject
Overrides:
writeExternal in class PortableException
Parameters:
out - the PofWriter to which to write the object's state
Throws:
java.io.IOException - if an I/O error occurs

Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.