java.io.IOException.getMessage()方法的使用及代码示例

x33g5p2x  于2022-01-16 转载在 其他  
字(10.4k)|赞(0)|评价(0)|浏览(144)

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

IOException.getMessage介绍

暂无

代码示例

代码示例来源:origin: alibaba/canal

int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  com.google.protobuf.UnknownFieldSet.newBuilder();
try {
 boolean done = false;
 while (!done) {
  int tag = input.readTag();
  switch (tag) {
   case 0:
 throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
 throw new com.google.protobuf.InvalidProtocolBufferException(
   e.getMessage()).setUnfinishedMessage(this);
} finally {
 this.unknownFields = unknownFields.build();
 makeExtensionsImmutable();

代码示例来源:origin: osmandapp/Osmand

public DynamicMessage parsePartialFrom(
   CodedInputStream input,
   ExtensionRegistryLite extensionRegistry)
   throws InvalidProtocolBufferException {
  Builder builder = newBuilder(type);
  try {
   builder.mergeFrom(input, extensionRegistry);
  } catch (InvalidProtocolBufferException e) {
   throw e.setUnfinishedMessage(builder.buildPartial());
  } catch (IOException e) {
   throw new InvalidProtocolBufferException(e.getMessage())
     .setUnfinishedMessage(builder.buildPartial());
  }
  return builder.buildPartial();
 }
};

代码示例来源:origin: alibaba/canal

int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  com.google.protobuf.UnknownFieldSet.newBuilder();
try {
 boolean done = false;
 while (!done) {
  int tag = input.readTag();
  switch (tag) {
   case 0:
 throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
 throw new com.google.protobuf.InvalidProtocolBufferException(
   e.getMessage()).setUnfinishedMessage(this);
} finally {
 if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
  props_ = java.util.Collections.unmodifiableList(props_);
 this.unknownFields = unknownFields.build();
 makeExtensionsImmutable();

代码示例来源:origin: alibaba/canal

int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  com.google.protobuf.UnknownFieldSet.newBuilder();
try {
 boolean done = false;
 while (!done) {
  int tag = input.readTag();
  switch (tag) {
   case 0:
 throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
 throw new com.google.protobuf.InvalidProtocolBufferException(
   e.getMessage()).setUnfinishedMessage(this);
} finally {
 if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
  props_ = java.util.Collections.unmodifiableList(props_);
 this.unknownFields = unknownFields.build();
 makeExtensionsImmutable();

代码示例来源:origin: alibaba/canal

int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  com.google.protobuf.UnknownFieldSet.newBuilder();
try {
 boolean done = false;
 while (!done) {
  int tag = input.readTag();
  switch (tag) {
   case 0:
 throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
 throw new com.google.protobuf.InvalidProtocolBufferException(
   e.getMessage()).setUnfinishedMessage(this);
} finally {
 if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
  props_ = java.util.Collections.unmodifiableList(props_);
 this.unknownFields = unknownFields.build();
 makeExtensionsImmutable();

代码示例来源:origin: stanfordnlp/CoreNLP

int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  com.google.protobuf.UnknownFieldSet.newBuilder();
try {
 boolean done = false;
 while (!done) {
  int tag = input.readTag();
  switch (tag) {
   case 0:
 throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
 throw new com.google.protobuf.InvalidProtocolBufferException(
   e.getMessage()).setUnfinishedMessage(this);
} finally {
 if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
  component_ = java.util.Collections.unmodifiableList(component_);
 this.unknownFields = unknownFields.build();
 makeExtensionsImmutable();

代码示例来源:origin: stanfordnlp/CoreNLP

int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  com.google.protobuf.UnknownFieldSet.newBuilder();
try {
 boolean done = false;
 while (!done) {
  int tag = input.readTag();
  switch (tag) {
   case 0:
 throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
 throw new com.google.protobuf.InvalidProtocolBufferException(
   e.getMessage()).setUnfinishedMessage(this);
} finally {
 if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
  factorTable_ = java.util.Collections.unmodifiableList(factorTable_);
 this.unknownFields = unknownFields.build();
 makeExtensionsImmutable();

代码示例来源:origin: stanfordnlp/CoreNLP

int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  com.google.protobuf.UnknownFieldSet.newBuilder();
try {
 boolean done = false;
 while (!done) {
  int tag = input.readTag();
  switch (tag) {
   case 0:
 throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
 throw new com.google.protobuf.InvalidProtocolBufferException(
   e.getMessage()).setUnfinishedMessage(this);
} finally {
 if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
  value_ = value_.getUnmodifiableView();
 this.unknownFields = unknownFields.build();
 makeExtensionsImmutable();

代码示例来源:origin: Graylog2/graylog2-server

int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  com.google.protobuf.UnknownFieldSet.newBuilder();
try {
 boolean done = false;
 while (!done) {
  int tag = input.readTag();
  switch (tag) {
   case 0:
 throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
 throw new com.google.protobuf.InvalidProtocolBufferException(
   e.getMessage()).setUnfinishedMessage(this);
} finally {
 this.unknownFields = unknownFields.build();
 makeExtensionsImmutable();

代码示例来源:origin: stanfordnlp/CoreNLP

int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  com.google.protobuf.UnknownFieldSet.newBuilder();
try {
 boolean done = false;
 while (!done) {
  int tag = input.readTag();
  switch (tag) {
   case 0:
 throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
 throw new com.google.protobuf.InvalidProtocolBufferException(
   e.getMessage()).setUnfinishedMessage(this);
} finally {
 if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
  data_ = java.util.Collections.unmodifiableList(data_);
 this.unknownFields = unknownFields.build();
 makeExtensionsImmutable();

代码示例来源:origin: apache/hbase

initFields();
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  com.google.protobuf.UnknownFieldSet.newBuilder();
try {
 boolean done = false;
 while (!done) {
  int tag = input.readTag();
  switch (tag) {
   case 0:
 throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
 throw new com.google.protobuf.InvalidProtocolBufferException(
   e.getMessage()).setUnfinishedMessage(this);
} finally {
 this.unknownFields = unknownFields.build();
 makeExtensionsImmutable();

代码示例来源:origin: apache/hbase

initFields();
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  com.google.protobuf.UnknownFieldSet.newBuilder();
try {
 boolean done = false;
 while (!done) {
  int tag = input.readTag();
  switch (tag) {
   case 0:
 throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
 throw new com.google.protobuf.InvalidProtocolBufferException(
   e.getMessage()).setUnfinishedMessage(this);
} finally {
 this.unknownFields = unknownFields.build();
 makeExtensionsImmutable();

代码示例来源:origin: apache/hbase

initFields();
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  com.google.protobuf.UnknownFieldSet.newBuilder();
try {
 boolean done = false;
 while (!done) {
  int tag = input.readTag();
  switch (tag) {
   case 0:
 throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
 throw new com.google.protobuf.InvalidProtocolBufferException(
   e.getMessage()).setUnfinishedMessage(this);
} finally {
 this.unknownFields = unknownFields.build();
 makeExtensionsImmutable();

代码示例来源:origin: apache/hbase

initFields();
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  com.google.protobuf.UnknownFieldSet.newBuilder();
try {
 boolean done = false;
 while (!done) {
  int tag = input.readTag();
  switch (tag) {
   case 0:
 throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
 throw new com.google.protobuf.InvalidProtocolBufferException(
   e.getMessage()).setUnfinishedMessage(this);
} finally {
 this.unknownFields = unknownFields.build();
 makeExtensionsImmutable();

代码示例来源:origin: apache/hbase

initFields();
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  com.google.protobuf.UnknownFieldSet.newBuilder();
try {
 boolean done = false;
 while (!done) {
  int tag = input.readTag();
  switch (tag) {
   case 0:
 throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
 throw new com.google.protobuf.InvalidProtocolBufferException(
   e.getMessage()).setUnfinishedMessage(this);
} finally {
 this.unknownFields = unknownFields.build();
 makeExtensionsImmutable();

代码示例来源:origin: apache/hbase

initFields();
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  com.google.protobuf.UnknownFieldSet.newBuilder();
try {
 boolean done = false;
 while (!done) {
  int tag = input.readTag();
  switch (tag) {
   case 0:
 throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
 throw new com.google.protobuf.InvalidProtocolBufferException(
   e.getMessage()).setUnfinishedMessage(this);
} finally {
 this.unknownFields = unknownFields.build();
 makeExtensionsImmutable();

代码示例来源:origin: apache/hbase

initFields();
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  com.google.protobuf.UnknownFieldSet.newBuilder();
try {
 boolean done = false;
 while (!done) {
  int tag = input.readTag();
  switch (tag) {
   case 0:
 throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
 throw new com.google.protobuf.InvalidProtocolBufferException(
   e.getMessage()).setUnfinishedMessage(this);
} finally {
 this.unknownFields = unknownFields.build();
 makeExtensionsImmutable();

代码示例来源:origin: apache/hbase

initFields();
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  com.google.protobuf.UnknownFieldSet.newBuilder();
try {
 boolean done = false;
 while (!done) {
  int tag = input.readTag();
  switch (tag) {
   case 0:
 throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
 throw new com.google.protobuf.InvalidProtocolBufferException(
   e.getMessage()).setUnfinishedMessage(this);
} finally {
 this.unknownFields = unknownFields.build();
 makeExtensionsImmutable();

代码示例来源:origin: apache/hbase

initFields();
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  com.google.protobuf.UnknownFieldSet.newBuilder();
try {
 boolean done = false;
 while (!done) {
  int tag = input.readTag();
  switch (tag) {
   case 0:
 throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
 throw new com.google.protobuf.InvalidProtocolBufferException(
   e.getMessage()).setUnfinishedMessage(this);
} finally {
 this.unknownFields = unknownFields.build();
 makeExtensionsImmutable();

代码示例来源:origin: apache/hbase

initFields();
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  com.google.protobuf.UnknownFieldSet.newBuilder();
try {
 boolean done = false;
 while (!done) {
  int tag = input.readTag();
  switch (tag) {
   case 0:
 throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
 throw new com.google.protobuf.InvalidProtocolBufferException(
   e.getMessage()).setUnfinishedMessage(this);
} finally {
 this.unknownFields = unknownFields.build();
 makeExtensionsImmutable();

相关文章