java.io.EOFException.setStackTrace()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(5.3k)|赞(0)|评价(0)|浏览(183)

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

EOFException.setStackTrace介绍

暂无

代码示例

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

@Override
public final EOFException writeShutDown() {
  final EOFException result = new EOFException(String.format(getLoggingLocale(), writeShutDown$str()));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String txMsgTooLarge = "XNIO000806: Transmitted message is too large";

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

@Override
public final EOFException unexpectedEof() {
  final EOFException result = new EOFException(String.format(getLoggingLocale(), unexpectedEof$str()));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String reversibleLoadNotPossible = "ELY02008: A reversible load is not possible until the KeyStore has first been initialized";

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

@Override
public final EOFException connectionClosedEarly() {
  final EOFException result = new EOFException(String.format(getLoggingLocale(), connectionClosedEarly$str()));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String streamClosed = "XNIO000813: The stream is closed";

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

@Override
public final EOFException writeShutDown() {
  final EOFException result = new EOFException(String.format(getLoggingLocale(), writeShutDown$str()));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String txMsgTooLarge = "XNIO000806: Transmitted message is too large";

代码示例来源:origin: org.wildfly.core/wildfly-process-controller

@Override
public final EOFException unexpectedEndOfStream() {
  final EOFException result = new EOFException(String.format(getLoggingLocale(), unexpectedEndOfStream$str()));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String writeChannelClosed = "WFLYPC0061: Write channel closed";

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

@Override
public final EOFException connectionClosedEarly() {
  final EOFException result = new EOFException(String.format(getLoggingLocale(), connectionClosedEarly$str()));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String streamClosed = "XNIO000813: The stream is closed";

代码示例来源:origin: org.wildfly.core/wildfly-process-controller

@Override
public final EOFException readBytes(final int bytesRead) {
  final EOFException result = new EOFException(String.format(getLoggingLocale(), readBytes$str(), bytesRead));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String streamClosed = "WFLYPC0058: Stream closed";

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

@Override
public final EOFException unexpectedEof() {
  final EOFException result = new EOFException(String.format(getLoggingLocale(), unexpectedEof$str()));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String reversibleLoadNotPossible = "ELY02008: A reversible load is not possible until the KeyStore has first been initialized";

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

@Override
public final EOFException unexpectedEof() {
  final EOFException result = new EOFException(String.format(getLoggingLocale(), unexpectedEof$str()));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String reversibleLoadNotPossible = "ELY02008: A reversible load is not possible until the KeyStore has first been initialized";

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

@Override
public final EOFException unexpectedEof() {
  final EOFException result = new EOFException(String.format(getLoggingLocale(), unexpectedEof$str()));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String reversibleLoadNotPossible = "ELY02008: A reversible load is not possible until the KeyStore has first been initialized";

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

@Override
public final EOFException readBytes(final int bytesRead) {
  final EOFException result = new EOFException(String.format(getLoggingLocale(), readBytes$str(), bytesRead));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String streamClosed = "WFLYPC0058: Stream closed";

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

@Override
public final EOFException unexpectedEndOfStream() {
  final EOFException result = new EOFException(String.format(getLoggingLocale(), unexpectedEndOfStream$str()));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String writeChannelClosed = "WFLYPC0061: Write channel closed";

相关文章