diff options
author | Brad Ebinger <breadley@google.com> | 2019-01-14 15:44:45 -0800 |
---|---|---|
committer | Brad Ebinger <breadley@google.com> | 2019-01-26 00:02:42 +0000 |
commit | 5a8bb0a7f2540fdf6a9576f5a4aa118f290cfc9a (patch) | |
tree | 53157c40678f6e157c3b374b695375603cca00f8 /telephony/java/com/android/ims | |
parent | c09b41cada169e200519f132f099f5e5f14345af (diff) |
Add new ImsException to better handle ImsService errors
The ImsService can crash unexpectantly or not be available
for certain device configurations. Define a checked exception
ImsException to handle these cases instead of using
RuntimeExceptions.
Bug: 122480210
Test: atest FrameworksTelephonyTests
Merged-In: Ie3221d56a235c0e037d71e197f4972df31faa09b
Change-Id: Ie3221d56a235c0e037d71e197f4972df31faa09b
Diffstat (limited to 'telephony/java/com/android/ims')
-rw-r--r-- | telephony/java/com/android/ims/ImsException.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/telephony/java/com/android/ims/ImsException.java b/telephony/java/com/android/ims/ImsException.java index f35e88672a23..fea763ed5785 100644 --- a/telephony/java/com/android/ims/ImsException.java +++ b/telephony/java/com/android/ims/ImsException.java @@ -21,8 +21,10 @@ import android.telephony.ims.ImsReasonInfo; /** * This class defines a general IMS-related exception. * + * @deprecated Use {@link android.telephony.ims.ImsException} instead. * @hide */ +@Deprecated public class ImsException extends Exception { /** |