wt.container.batch
Class TransactionResult

java.lang.Object
  extended bywt.container.batch.TransactionResult
All Implemented Interfaces:
Serializable

public class TransactionResult
extends Object
implements Serializable

Class of object used to communicate exceptions to Assertions. Records the number of the assertion and the thrown exception.

Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
private  int assertionNumber
           
private static String CLASSNAME
           
private  WTException exception
           
private static String RESOURCE
           
 
Constructor Summary
TransactionResult(int assertIndex, WTException exception)
          

Supported API: true
 
Method Summary
 int getAssertionNumber()
          Gets the value of the attribute: assertionNumber; The number of the assertion to which the server objected.
 WTException getException()
          Gets the object for the association that plays role: exception.
protected  void setAssertionNumber(int a_AssertionNumber)
          Sets the value of the attribute: assertionNumber; The number of the assertion to which the server objected.
 void setException(WTException a_Exception)
          Sets the object for the association that plays role: exception.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

assertionNumber

private int assertionNumber

exception

private WTException exception
Constructor Detail

TransactionResult

public TransactionResult(int assertIndex,
                         WTException exception)


Supported API: true

Parameters:
assertIndex -
exception -
Method Detail

getAssertionNumber

public int getAssertionNumber()
Gets the value of the attribute: assertionNumber; The number of the assertion to which the server objected.

Supported API: false

Returns:
int

setAssertionNumber

protected void setAssertionNumber(int a_AssertionNumber)
Sets the value of the attribute: assertionNumber; The number of the assertion to which the server objected.

Supported API: false

Parameters:
a_AssertionNumber -

getException

public WTException getException()
Gets the object for the association that plays role: exception.

Supported API: false

Returns:
WTException

setException

public void setException(WTException a_Exception)
Sets the object for the association that plays role: exception.

Supported API: false

Parameters:
a_Exception -