package org.bouncycastle.crypto.tls; import com.huawei.hms.framework.network.grs.GrsBaseInfo; /* loaded from: classes6.dex */ public class AlertLevel { public static final short fatal = 2; public static final short warning = 1; public static String getText(short s) { StringBuilder sb = new StringBuilder(); sb.append(getName(s)); sb.append("("); sb.append((int) s); sb.append(")"); return sb.toString(); } public static String getName(short s) { return s != 1 ? s != 2 ? GrsBaseInfo.CountryCodeSource.UNKNOWN : "fatal" : "warning"; } }