Added in API level 31

TelephonyManager.NetworkSlicingException


public static class TelephonyManager.NetworkSlicingException
extends Exception

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ android.telephony.TelephonyManager.NetworkSlicingException


Exception that may be supplied to the callback in TelephonyManager.getNetworkSlicingConfiguration(Executor, OutcomeReceiver) if something goes awry.

Summary

Public methods

String toString()

Returns a short description of this throwable.

Inherited methods

Public methods

toString

Added in API level 31
public String toString ()

Returns a short description of this throwable. The result is the concatenation of:

  • the name of the class of this object
  • ": " (a colon and a space)
  • the result of invoking this object's getLocalizedMessage() method
If getLocalizedMessage returns null, then just the class name is returned.

Returns
String a string representation of this throwable.