org.xins.common.service
Class CallExceptionList

java.lang.Object
  extended byorg.xins.common.service.CallExceptionList

public final class CallExceptionList
extends Object

List of call exceptions. See class CallException.

Since:
XINS 1.0.0
Version:
$Revision: 1.14 $ $Date: 2006/08/28 09:12:34 $
Author:
Ernst de Haan

Constructor Summary
CallExceptionList()
          Constructs a new CallExceptionList object.
 
Method Summary
 CallException get(int index)
          Retrieves a CallException by index.
 CallException last()
          Retrieves the last (most recent) CallException.
 int size()
          Counts the number of elements.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallExceptionList

public CallExceptionList()
Constructs a new CallExceptionList object.

Method Detail

size

public int size()
Counts the number of elements.

Returns:
the number of CallExceptions, always >= 0.

get

public CallException get(int index)
                  throws IndexOutOfBoundsException
Retrieves a CallException by index.

Parameters:
index - the element index, must be >= 0 and < size().
Returns:
the CallException element at the specified index, never null.
Throws:
IndexOutOfBoundsException - if index < 0 || index >= size().

last

public CallException last()
Retrieves the last (most recent) CallException.

Returns:
the CallException element at the highest index, or null if this list is empty.
Since:
XINS 1.1.0


See http://www.xins.org/.