package org.bouncycastle.crypto.tls; import java.io.IOException; /* loaded from: classes6.dex */ public class TlsFatalAlert extends IOException { private static final long serialVersionUID = 3584313123679111168L; protected Throwable alertCause; protected short alertDescription; @Override // java.lang.Throwable public Throwable getCause() { return this.alertCause; } public short getAlertDescription() { return this.alertDescription; } public TlsFatalAlert(short s, Throwable th) { super(AlertDescription.getText(s)); this.alertDescription = s; this.alertCause = th; } public TlsFatalAlert(short s) { this(s, null); } }