本文整理了Java中java.io.EOFException.getStackTrace()
方法的一些代码示例,展示了EOFException.getStackTrace()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。EOFException.getStackTrace()
方法的具体详情如下:
包路径:java.io.EOFException
类名称:EOFException
方法名:getStackTrace
暂无
代码示例来源: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";
内容来源于网络,如有侵权,请联系作者删除!