Added in API level 31

NetworkSlicingException


open class NetworkSlicingException : Exception
kotlin.Any
   ↳ kotlin.Throwable
   ↳ java.lang.Exception
   ↳ android.telephony.TelephonyManager.NetworkSlicingException

Exception that may be supplied to the callback in getNetworkSlicingConfiguration if something goes awry.

Summary

Public methods
open String

Returns a short description of this throwable.

Public methods

toString

Added in API level 31
open fun toString(): String

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.

Return
String a string representation of this throwable.