Class 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 Detail

      • errorCode

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

      • CryptoException

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