com.google.gdata.client.batch
Class BatchInterruptedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.google.gdata.util.ServiceException
              extended by com.google.gdata.client.batch.BatchInterruptedException
All Implemented Interfaces:
java.io.Serializable

public class BatchInterruptedException
extends ServiceException

Exception thrown by the client when an entry with a <batch:interrupted> tag has been detected.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gdata.util.ServiceException
ServiceException.LocationType
 
Constructor Summary
BatchInterruptedException(BaseFeed feed, BatchInterrupted interrupted)
          Creates a BatchInterrupted exception.
 
Method Summary
 BatchInterrupted getBatchInterrupted()
          Gets the <batch:interrupted> tag that describes what went wrong.
 BaseFeed getFeed()
          Gets the interrupted feed, which might contain reports of succesful operations.
 
Methods inherited from class com.google.gdata.util.ServiceException
addSibling, getCodeName, getDebugInfo, getDomainName, getExtendedHelp, getHttpErrorCodeOverride, getHttpHeaders, getInternalReason, getLocation, getLocationType, getMessage, getResponseBody, getResponseContentType, getSendReport, getSiblings, matches, matchesAny, setCode, setDebugInfo, setDomain, setExtendedHelp, setHeaderLocation, setHttpErrorCodeOverride, setInternalReason, setLocation, setResponse, setResponseBody, setResponseContentType, setSendReport, setXpathLocation, toString, toXmlErrorMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BatchInterruptedException

public BatchInterruptedException(BaseFeed feed,
                                 BatchInterrupted interrupted)
Creates a BatchInterrupted exception.

Parameters:
feed -
interrupted -
Method Detail

getBatchInterrupted

public BatchInterrupted getBatchInterrupted()
Gets the <batch:interrupted> tag that describes what went wrong.

Returns:
BatchInterrupted object

getFeed

public BaseFeed getFeed()
Gets the interrupted feed, which might contain reports of succesful operations. The last entry on the feed is always the entry that contains the BatchInterrupted object.

Returns:
the feed