Class CryptoException

  • All Implemented Interfaces:

    public class CryptoException
    extends Exception
    Deprecated. 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 Detail

      • errorCode

        public final int errorCode
        A component specific error code.
    • Constructor Detail

      • CryptoException

        public CryptoException​(int errorCode,
                               String message)
        errorCode - A component specific error code.
        message - The detail message.