| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
package android.content; |
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
public class OperationApplicationException extends Exception { |
| 24 |
private final int mNumSuccessfulYieldPoints; |
| 25 |
|
| 26 |
public OperationApplicationException() { |
| 27 |
super(); |
| 28 |
mNumSuccessfulYieldPoints = 0; |
| 29 |
} |
| 30 |
public OperationApplicationException(String message) { |
| 31 |
super(message); |
| 32 |
mNumSuccessfulYieldPoints = 0; |
| 33 |
} |
| 34 |
public OperationApplicationException(String message, Throwable cause) { |
| 35 |
super(message, cause); |
| 36 |
mNumSuccessfulYieldPoints = 0; |
| 37 |
} |
| 38 |
public OperationApplicationException(Throwable cause) { |
| 39 |
super(cause); |
| 40 |
mNumSuccessfulYieldPoints = 0; |
| 41 |
} |
| 42 |
public OperationApplicationException(int numSuccessfulYieldPoints) { |
| 43 |
super(); |
| 44 |
mNumSuccessfulYieldPoints = numSuccessfulYieldPoints; |
| 45 |
} |
| 46 |
public OperationApplicationException(String message, int numSuccessfulYieldPoints) { |
| 47 |
super(message); |
| 48 |
mNumSuccessfulYieldPoints = numSuccessfulYieldPoints; |
| 49 |
} |
| 50 |
|
| 51 |
public int getNumSuccessfulYieldPoints() { |
| 52 |
return mNumSuccessfulYieldPoints; |
| 53 |
} |
| 54 |
} |