FeatureNotSupportedException
Stay organized with collections
Save and categorize content based on your preferences.
This class is deprecated.
The Stream Protect API will be shutdown in 2023.
Exception set by Task
when Stream Protect is not supported but an API is
called.
Public Constructor Summary
Inherited Method Summary
From class android.os.RemoteException
From class java.lang.Throwable
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Public Constructors
public FeatureNotSupportedException ()
This constructor is deprecated.
The Stream Protect API will be shutdown in 2023.
Exception without message.
public FeatureNotSupportedException (String
name)
This constructor is deprecated.
The Stream Protect API will be shutdown in 2023.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003eFeatureNotSupportedException\u003c/code\u003e signals that the Stream Protect API, which is set to shutdown in 2023, does not support a called feature.\u003c/p\u003e\n"],["\u003cp\u003eThis exception is a subclass of \u003ccode\u003eRemoteException\u003c/code\u003e and is itself deprecated.\u003c/p\u003e\n"],["\u003cp\u003eIt can be constructed with or without a custom message detailing the unsupported feature.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTask\u003c/code\u003e objects throw this exception when encountering unsupported Stream Protect functionalities.\u003c/p\u003e\n"]]],[],null,["# FeatureNotSupportedException\n\npublic class **FeatureNotSupportedException** extends [RemoteException](//developer.android.com/reference/android/os/RemoteException.html) \n**This class is deprecated.** \n\nThe Stream Protect API will be shutdown in 2023.\n\nException set by `Task` when Stream Protect is not supported but an API is\ncalled. \n\n### Public Constructor Summary\n\n|---|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| | [FeatureNotSupportedException](/android/reference/com/google/android/gms/streamprotect/FeatureNotSupportedException#FeatureNotSupportedException())() *This constructor is deprecated. The Stream Protect API will be shutdown in 2023.* |\n| | [FeatureNotSupportedException](/android/reference/com/google/android/gms/streamprotect/FeatureNotSupportedException#FeatureNotSupportedException(java.lang.String))([String](//developer.android.com/reference/java/lang/String.html) name) *This constructor is deprecated. The Stream Protect API will be shutdown in 2023.* |\n\n### Inherited Method Summary\n\nFrom class android.os.RemoteException \n\n|---------------------------------------------------------------------------------------|-----------------------------|\n| [RuntimeException](//developer.android.com/reference/java/lang/RuntimeException.html) | rethrowAsRuntimeException() |\n| [RuntimeException](//developer.android.com/reference/java/lang/RuntimeException.html) | rethrowFromSystemServer() |\n\nFrom class java.lang.Throwable \n\n|------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------|\n| synchronized final void | addSuppressed([Throwable](//developer.android.com/reference/java/lang/Throwable.html) arg0) |\n| synchronized [Throwable](//developer.android.com/reference/java/lang/Throwable.html) | fillInStackTrace() |\n| synchronized [Throwable](//developer.android.com/reference/java/lang/Throwable.html) | getCause() |\n| [String](//developer.android.com/reference/java/lang/String.html) | getLocalizedMessage() |\n| [String](//developer.android.com/reference/java/lang/String.html) | getMessage() |\n| [StackTraceElement\\[\\]](//developer.android.com/reference/java/lang/StackTraceElement.html) | getStackTrace() |\n| synchronized final [Throwable\\[\\]](//developer.android.com/reference/java/lang/Throwable.html) | getSuppressed() |\n| synchronized [Throwable](//developer.android.com/reference/java/lang/Throwable.html) | initCause([Throwable](//developer.android.com/reference/java/lang/Throwable.html) arg0) |\n| void | printStackTrace() |\n| void | printStackTrace([PrintWriter](//developer.android.com/reference/java/io/PrintWriter.html) arg0) |\n| void | printStackTrace([PrintStream](//developer.android.com/reference/java/io/PrintStream.html) arg0) |\n| void | setStackTrace([StackTraceElement\\[\\]](//developer.android.com/reference/java/lang/StackTraceElement.html) arg0) |\n| [String](//developer.android.com/reference/java/lang/String.html) | toString() |\n\nFrom class java.lang.Object \n\n|----------------------------------------------------------------------------|--------------------------------------------------------------------------------|\n| [Object](//developer.android.com/reference/java/lang/Object.html) | clone() |\n| boolean | equals([Object](//developer.android.com/reference/java/lang/Object.html) arg0) |\n| void | finalize() |\n| final [Class](//developer.android.com/reference/java/lang/Class.html)\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| [String](//developer.android.com/reference/java/lang/String.html) | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nPublic Constructors\n-------------------\n\n#### public **FeatureNotSupportedException** ()\n\n**This constructor is deprecated.** \n\nThe Stream Protect API will be shutdown in 2023. \nException without message. \n\n#### public **FeatureNotSupportedException** ([String](//developer.android.com/reference/java/lang/String.html) name)\n\n**This constructor is deprecated.** \n\nThe Stream Protect API will be shutdown in 2023. \nException with message."]]