Example usage for android.content OperationApplicationException OperationApplicationException

List of usage examples for android.content OperationApplicationException OperationApplicationException

Introduction

In this page you can find the example usage for android.content OperationApplicationException OperationApplicationException.

Prototype

public OperationApplicationException(int numSuccessfulYieldPoints) 

Source Link

Usage

From source file:android.database.DatabaseUtils.java

public static void readExceptionWithOperationApplicationExceptionFromParcel(Parcel reply)
        throws OperationApplicationException {
    int code = reply.readInt();
    if (code == 0)
        return;//w  w  w  .  ja va  2 s  . co m
    String msg = reply.readString();
    if (code == 10) {
        throw new OperationApplicationException(msg);
    } else {
        DatabaseUtils.readExceptionFromParcel(reply, msg, code);
    }
}