javax.net.ssl.SSLException.getStackTrace()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(8.6k)|赞(0)|评价(0)|浏览(109)

本文整理了Java中javax.net.ssl.SSLException.getStackTrace()方法的一些代码示例,展示了SSLException.getStackTrace()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。SSLException.getStackTrace()方法的具体详情如下:
包路径:javax.net.ssl.SSLException
类名称:SSLException
方法名:getStackTrace

SSLException.getStackTrace介绍

暂无

代码示例

代码示例来源:origin: wildfly/wildfly

@Override
public final SSLException noContextForSslConnection() {
  final SSLException result = new SSLException(String.format(getLoggingLocale(), noContextForSslConnection$str()));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String defaultContextCannotBeNull = "UT000191: Default context cannot be null";

代码示例来源:origin: wildfly/wildfly

@Override
public final SSLException noSNIContextForSslConnection() {
  final SSLException result = new SSLException(String.format(getLoggingLocale(), noSNIContextForSslConnection$str()));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String mechMessageAfterComplete = "ELY05001: Authentication mechanism exchange received a message after authentication was already complete";

代码示例来源:origin: wildfly/wildfly

@Override
public final SSLException emptyHostNameSni() {
  final SSLException result = new SSLException(String.format(getLoggingLocale(), emptyHostNameSni$str()));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String duplicatedSniServerName = "UT000189: Duplicated host name of type %s";

代码示例来源:origin: wildfly/wildfly

@Override
public final SSLException duplicatedSniServerName(final int type) {
  final SSLException result = new SSLException(String.format(getLoggingLocale(), duplicatedSniServerName$str(), type));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String noContextForSslConnection = "UT000190: No context for SSL connection";

代码示例来源:origin: wildfly/wildfly

@Override
public final SSLException sslClosed() {
  final SSLException result = new SSLException(String.format(getLoggingLocale(), sslClosed$str()));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String notHandshakeRecord = "ELY04008: Initial SSL/TLS data is not a handshake record";

代码示例来源:origin: wildfly/wildfly

@Override
public final SSLException invalidTlsExt() {
  final SSLException result = new SSLException(String.format(getLoggingLocale(), invalidTlsExt$str()));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String notEnoughData = "UT000187: Not enough data";

代码示例来源:origin: wildfly/wildfly

@Override
public final SSLException notEnoughData() {
  final SSLException result = new SSLException(String.format(getLoggingLocale(), notEnoughData$str()));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String emptyHostNameSni = "UT000188: Empty host name in SNI extension";

代码示例来源:origin: io.undertow/undertow-core

@Override
public final SSLException invalidTlsExt() {
  final SSLException result = new SSLException(String.format(getLoggingLocale(), invalidTlsExt$str()));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String notEnoughData = "UT000187: Not enough data";

代码示例来源:origin: io.undertow/undertow-core

@Override
public final SSLException duplicatedSniServerName(final int type) {
  final SSLException result = new SSLException(String.format(getLoggingLocale(), duplicatedSniServerName$str(), type));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String noContextForSslConnection = "UT000190: No context for SSL connection";

代码示例来源:origin: org.jboss.eap/wildfly-client-all

@Override
public final SSLException notEnoughData() {
  final SSLException result = new SSLException(String.format(getLoggingLocale(), notEnoughData$str()));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String emptyHostNameSni = "UT000188: Empty host name in SNI extension";

代码示例来源:origin: org.wildfly.security/wildfly-elytron

@Override
public final SSLException noSNIContextForSslConnection() {
  final SSLException result = new SSLException(String.format(getLoggingLocale(), noSNIContextForSslConnection$str()));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String mechMessageAfterComplete = "ELY05001: Authentication mechanism exchange received a message after authentication was already complete";

代码示例来源:origin: io.undertow/undertow-core

@Override
public final SSLException notEnoughData() {
  final SSLException result = new SSLException(String.format(getLoggingLocale(), notEnoughData$str()));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String emptyHostNameSni = "UT000188: Empty host name in SNI extension";

代码示例来源:origin: io.undertow/undertow-core

@Override
public final SSLException emptyHostNameSni() {
  final SSLException result = new SSLException(String.format(getLoggingLocale(), emptyHostNameSni$str()));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String duplicatedSniServerName = "UT000189: Duplicated host name of type %s";

代码示例来源:origin: io.undertow/undertow-core

@Override
public final SSLException noContextForSslConnection() {
  final SSLException result = new SSLException(String.format(getLoggingLocale(), noContextForSslConnection$str()));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String defaultContextCannotBeNull = "UT000191: Default context cannot be null";

代码示例来源:origin: org.jboss.eap/wildfly-client-all

@Override
public final SSLException emptyHostNameSni() {
  final SSLException result = new SSLException(String.format(getLoggingLocale(), emptyHostNameSni$str()));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String duplicatedSniServerName = "UT000189: Duplicated host name of type %s";

代码示例来源:origin: org.jboss.eap/wildfly-client-all

@Override
public final SSLException sslClosed() {
  final SSLException result = new SSLException(String.format(getLoggingLocale(), sslClosed$str()));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String notHandshakeRecord = "ELY04008: Initial SSL/TLS data is not a handshake record";

代码示例来源:origin: org.wildfly.security/wildfly-elytron

@Override
public final SSLException sslClosed() {
  final SSLException result = new SSLException(String.format(getLoggingLocale(), sslClosed$str()));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String notHandshakeRecord = "ELY04008: Initial SSL/TLS data is not a handshake record";

代码示例来源:origin: org.wildfly.security/wildfly-elytron-ssl

@Override
public final SSLException sslClosed() {
  final SSLException result = new SSLException(String.format(getLoggingLocale(), sslClosed$str()));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String notHandshakeRecord = "ELY04008: Initial SSL/TLS data is not a handshake record";

代码示例来源:origin: org.jboss.eap/wildfly-client-all

@Override
public final SSLException duplicatedSniServerName(final int type) {
  final SSLException result = new SSLException(String.format(getLoggingLocale(), duplicatedSniServerName$str(), type));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String noContextForSslConnection = "UT000190: No context for SSL connection";

代码示例来源:origin: org.jboss.eap/wildfly-client-all

@Override
public final SSLException noContextForSslConnection() {
  final SSLException result = new SSLException(String.format(getLoggingLocale(), noContextForSslConnection$str()));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String defaultContextCannotBeNull = "UT000191: Default context cannot be null";

相关文章