public class SLEnumerationImpl extends java.lang.Object implements ServiceLocationEnumeration
Constructor and Description |
---|
SLEnumerationImpl(RequestMessage pReqMsg,
java.util.List pDAList)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
int |
getPort()
For diagnostic only!
|
boolean |
hasMoreElements() |
boolean |
hasMoreExceptions() |
java.lang.Object |
next()
This implementation can throw RuntimeExceptions.
|
java.lang.Object |
nextElement() |
java.lang.Object |
nextException() |
public SLEnumerationImpl(RequestMessage pReqMsg, java.util.List pDAList)
pReqMsg
- pDAList
- public java.lang.Object next() throws java.util.NoSuchElementException
next
in interface ServiceLocationEnumeration
java.util.NoSuchElementException
- If there are no more elements to return.ServiceLocationEnumeration.next()
public java.lang.Object nextException() throws java.util.NoSuchElementException
nextException
in interface ServiceLocationEnumeration
java.util.NoSuchElementException
- This in internal implementation to get list of all exceptions thrown/caught by parser
This can throw RuntimeExceptions. They can be ignored or used for analysis.
use hasNextException to check whether there exists another element in Exception tablepublic boolean hasMoreExceptions()
hasMoreExceptions
in interface ServiceLocationEnumeration
public boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration
public java.lang.Object nextElement() throws java.util.NoSuchElementException
nextElement
in interface java.util.Enumeration
java.util.NoSuchElementException
public int getPort()
Copyright © 2005, 2011 IBM Corporation. All Rights Reserved.