Name
WrongTransaction
Synopsis
A user exception thrown when an attempt is made to get the response to
a deferred method request from a different transaction than the
original request. If a client makes an asynchronous DII method request
using the Request.send_deferred()
method, and this request is made
within a given transaction, and the client later makes a call to the
Request
object’s get_response()
method from within a different
transaction, then a WrongTransaction
exception is thrown. This
exception can also be thrown if the ORB.get_next_response()
method is
called from a different transaction than the original method request.
public final class WrongTransaction extends UserException { // Public Constructors public WrongTransaction(); public WrongTransaction( String reason); }
Passed To
WrongTransactionHelper.{insert()
, write()}
, WrongTransactionHolder.WrongTransactionHolder()
Returned By
WrongTransactionHelper.{extract()
, read()}
Thrown By
org.omg.CORBA.ORB.get_next_response()
, Request.get_response()
Type Of
WrongTransactionHolder.value
Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.