Stay organized with collections
Save and categorize content based on your preferences.
NetworkSlicingException
open class NetworkSlicingException : Exception
Exception that may be supplied to the callback in getNetworkSlicingConfiguration
if something goes awry.
Summary
Public methods
toString
open fun toString(): String
Return |
String |
a string representation of this throwable. |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# TelephonyManager.NetworkSlicingException\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nNetworkSlicingException\n=======================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/telephony/TelephonyManager.NetworkSlicingException \"View this page in Java\") \n\n```\nopen class NetworkSlicingException : Exception\n```\n\n|---|---|---|-----------------------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||||\n| ↳ | [kotlin.Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html) |||\n| | ↳ | [java.lang.Exception](../../java/lang/Exception.html#) ||\n| | | ↳ | [android.telephony.TelephonyManager.NetworkSlicingException](#) |\n\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Direct Subclasses [TelephonyManager.ModemErrorException](/reference/kotlin/android/telephony/TelephonyManager.ModemErrorException), [TelephonyManager.TimeoutException](/reference/kotlin/android/telephony/TelephonyManager.TimeoutException) |------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [TelephonyManager.ModemErrorException](/reference/kotlin/android/telephony/TelephonyManager.ModemErrorException) | Exception that is supplied to the callback in [getNetworkSlicingConfiguration](/reference/kotlin/android/telephony/TelephonyManager#getNetworkSlicingConfiguration(java.util.concurrent.Executor,%20android.os.OutcomeReceiver)) if the modem returned a failure. | | [TelephonyManager.TimeoutException](/reference/kotlin/android/telephony/TelephonyManager.TimeoutException) | Exception that is supplied to the callback in [getNetworkSlicingConfiguration](/reference/kotlin/android/telephony/TelephonyManager#getNetworkSlicingConfiguration(java.util.concurrent.Executor,%20android.os.OutcomeReceiver)) if the system timed out waiting for a response from the Radio. | |\n\nException that may be supplied to the callback in [getNetworkSlicingConfiguration](/reference/kotlin/android/telephony/TelephonyManager#getNetworkSlicingConfiguration(java.util.concurrent.Executor,%20android.os.OutcomeReceiver)) if something goes awry.\n\nSummary\n-------\n\n| Public methods ||\n|---------------------------------------------------------------------------------------|------------------------------------|\n| open [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [toString](#toString())`()` \u003cbr /\u003e |\n\nPublic methods\n--------------\n\n### toString\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun toString(): String\n```\n\n| Return ||\n|----------------------------------------------------------------------------------|--------------------------------------------|\n| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | a string representation of this throwable. |"]]