public class

BatchInterruptedException

extends ServiceException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ com.google.gdata.util.ServiceException
         ↳ com.google.gdata.client.batch.BatchInterruptedException

Class Overview

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

Summary

[Expand]
Inherited Constants
From class java.lang.Exception
From class java.lang.Throwable
Fields
private final IFeed feed
private final IBatchInterrupted interrupted
[Expand]
Inherited Fields
From class com.google.gdata.util.ServiceException
From class java.lang.Throwable
Public Constructors
BatchInterruptedException(IFeed feed, IBatchInterrupted interrupted)
Creates a BatchInterrupted exception.
Public Methods
BatchInterrupted getBatchInterrupted()
This method is deprecated. Use getIBatchInterrupted() instead.
BaseFeed<?, ?> getFeed()
This method is deprecated. Use getIFeed() instead.
IBatchInterrupted getIBatchInterrupted()
Gets the <batch:interrupted> tag that describes what went wrong.
IFeed getIFeed()
[Expand]
Inherited Methods
From class com.google.gdata.util.ServiceException
From class java.lang.Throwable
From class java.lang.Object

Fields

private final IFeed feed

private final IBatchInterrupted interrupted

Public Constructors

public BatchInterruptedException (IFeed feed, IBatchInterrupted interrupted)

Creates a BatchInterrupted exception.

Parameters
feed
interrupted

Public Methods

public BatchInterrupted getBatchInterrupted ()

This method is deprecated.
Use getIBatchInterrupted() instead.

Gets the <batch:interrupted> tag that describes what went wrong.

Returns
  • BatchInterrupted object

public BaseFeed<?, ?> getFeed ()

This method is deprecated.
Use getIFeed() instead.

Gets the interrupted feed, which might contain reports of successful operations. The last entry on the feed is always the entry that contains the BatchInterrupted object.

Returns
  • the feed

public IBatchInterrupted getIBatchInterrupted ()

Gets the <batch:interrupted> tag that describes what went wrong.

Returns
  • BatchInterrupted object

public IFeed getIFeed ()