RemoteException: Add @throws documentation
Bug: 144792553 Test: Compiles Change-Id: I5a7464c2fe786b8398c5abdf43f62479de62b133
This commit is contained in:
@@ -44,6 +44,8 @@ public class RemoteException extends AndroidException {
|
||||
* state or making security decisions based on the perceived success or
|
||||
* failure of a call, or any default values returned. For this reason, we
|
||||
* want to strongly throw when there was trouble with the transaction.
|
||||
*
|
||||
* @throws RuntimeException
|
||||
*/
|
||||
@NonNull
|
||||
public RuntimeException rethrowAsRuntimeException() {
|
||||
@@ -60,6 +62,8 @@ public class RemoteException extends AndroidException {
|
||||
* state or making security decisions based on the perceived success or
|
||||
* failure of a call, or any default values returned. For this reason, we
|
||||
* want to strongly throw when there was trouble with the transaction.
|
||||
*
|
||||
* @throws RuntimeException
|
||||
*/
|
||||
@NonNull
|
||||
public RuntimeException rethrowFromSystemServer() {
|
||||
|
||||
Reference in New Issue
Block a user