Class CryptoException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.google.android.exoplayer2.decoder.CryptoException
-
- All Implemented Interfaces:
Serializable
@Deprecated public class CryptoException extends Exception
Deprecated.com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.Thrown when a non-platform component fails to decrypt data.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description int
errorCode
Deprecated.A component specific error code.
-
Constructor Summary
Constructors Constructor Description CryptoException(int errorCode, String message)
Deprecated.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
CryptoException
public CryptoException(int errorCode, String message)
Deprecated.- Parameters:
errorCode
- A component specific error code.message
- The detail message.
-
-