Added in API level 5

OperationApplicationException


public class OperationApplicationException
extends Exception

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ android.content.OperationApplicationException


Thrown when an application of a ContentProviderOperation fails due the specified constraints.

Summary

Public constructors

OperationApplicationException()
OperationApplicationException(int numSuccessfulYieldPoints)
OperationApplicationException(String message)
OperationApplicationException(String message, int numSuccessfulYieldPoints)
OperationApplicationException(String message, Throwable cause)
OperationApplicationException(Throwable cause)

Public methods

int getNumSuccessfulYieldPoints()

Inherited methods

Public constructors

OperationApplicationException

Added in API level 5
public OperationApplicationException ()

OperationApplicationException

Added in API level 5
public OperationApplicationException (int numSuccessfulYieldPoints)

Parameters
numSuccessfulYieldPoints int

OperationApplicationException

Added in API level 5
public OperationApplicationException (String message)

Parameters
message String

OperationApplicationException

Added in API level 5
public OperationApplicationException (String message, 
                int numSuccessfulYieldPoints)

Parameters
message String

numSuccessfulYieldPoints int

OperationApplicationException

Added in API level 5
public OperationApplicationException (String message, 
                Throwable cause)

Parameters
message String

cause Throwable

OperationApplicationException

Added in API level 5
public OperationApplicationException (Throwable cause)

Parameters
cause Throwable

Public methods

getNumSuccessfulYieldPoints

Added in API level 5
public int getNumSuccessfulYieldPoints ()

Returns
int