what-the-bank/sources/org/bouncycastle/crypto/tls/TlsFatalAlert.java

30 lines
723 B
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
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);
}
}