XCC/J 4.1-11

com.marklogic.xcc.exceptions
Class StreamingResultException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.marklogic.xcc.exceptions.StreamingResultException
All Implemented Interfaces:
Serializable

public class StreamingResultException
extends RuntimeException

This unchecked (runtime) exception may be thrown by some methods of streaming ResultSequence objects if an IOException occurs while processing the streaming data.

See Also:
Serialized Form

Constructor Summary
StreamingResultException(ResultSequence resultSequence, Throwable cause)
           
StreamingResultException(String message, ResultSequence resultSequence, Throwable cause)
           
 
Method Summary
 ResultSequence getResultSequence()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StreamingResultException

public StreamingResultException(String message,
                                ResultSequence resultSequence,
                                Throwable cause)

StreamingResultException

public StreamingResultException(ResultSequence resultSequence,
                                Throwable cause)
Method Detail

getResultSequence

public ResultSequence getResultSequence()

XCC/J 4.1-11

Copyright © 2003-2011 MarkLogic Corporation, All Rights Reserved.

Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com