wt.pds
Class PartialResultException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bywt.util.WTException
              extended bywt.pom.PersistenceException
                  extended bywt.pds.PartialResultException
All Implemented Interfaces:
LocalizableMessage, Message, Serializable

public class PartialResultException
extends PersistenceException

PartialResultException captures errors that occur during query processing. This exception contains query results that were processed up to the point when the error occurred. Although an error has occurred, some of the query results are available and may be used in some cases.

Supported API: true
Extendable: false

See Also:
Serialized Form

Field Summary
private  QueryResult partialResult
           
private static String RESOURCE
           
 
Fields inherited from class wt.util.WTException
GETMESSAGE_LINE_SEPARATOR, LINE_SEPARATOR, SPACE_SEPARATOR, TOSTRING_LINE_SEPARATOR
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
PartialResultException(int a_queryLimit)
          

Supported API: false
PartialResultException(int a_queryLimit, QueryResult a_queryResult)
          

Supported API: false
 
Method Summary
 QueryResult getQueryResult()
          Returns the partial query result.
 
Methods inherited from class wt.pom.PersistenceException
getObjectDisplay
 
Methods inherited from class wt.util.WTException
getAdditionalMessageArray, getAdditionalMessages, getAdditionalMessages, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getNestedExceptionString, getNestedExceptionString, getNestedThrowable, getStandardMessage, getStandardMessage, printStackTrace, printStackTrace, printStackTrace, setLocalizedMessage, toString, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

partialResult

private QueryResult partialResult
Constructor Detail

PartialResultException

public PartialResultException(int a_queryLimit,
                              QueryResult a_queryResult)


Supported API: false


PartialResultException

public PartialResultException(int a_queryLimit)


Supported API: false

Method Detail

getQueryResult

public QueryResult getQueryResult()
Returns the partial query result.

Supported API: true

Returns:
QueryResult