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

x33g5p2x  于2022-01-26 转载在 其他  
字(2.6k)|赞(0)|评价(0)|浏览(122)

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

OptionalDataException.getMessage介绍

暂无

代码示例

代码示例来源:origin: org.jboss.mx/jboss-jmx

throw new IOException(optionaldataexception.getMessage());

代码示例来源:origin: org.jboss.jbossas/jboss-as-jmx

throw new IOException(optionaldataexception.getMessage());

代码示例来源:origin: org.apache.oodt/oodt-commons

System.err.println("Unable to read Incident from packet: " + ex.getMessage());
} catch (OptionalDataException ex) {
  System.err.println("Primitive data instead of Incident in packet: " + ex.getMessage());
} catch (IOException ex) {
  throw new IllegalStateException("Unexpected IOException: " + ex.getMessage());

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

System.err.println("Unable to read Incident from packet: " + ex.getMessage());
} catch (OptionalDataException ex) {
  System.err.println("Primitive data instead of Incident in packet: " + ex.getMessage());
} catch (IOException ex) {
  throw new IllegalStateException("Unexpected IOException: " + ex.getMessage());

代码示例来源:origin: org.objectweb.jonas/jonas-commons

logger.log(BasicLevel.DEBUG, "Cannot get object from bytes : " + ode.getMessage());

代码示例来源:origin: org.jboss.spec.javax.sql/jboss-javax-sql-api_7.0_spec

throw new SQLException(MessageFormat.format(resBundle.handleGetObject("cachedrowsetimpl.clonefail").toString() , ex.getMessage()));
} catch (OptionalDataException ex) {
  throw new SQLException(MessageFormat.format(resBundle.handleGetObject("cachedrowsetimpl.clonefail").toString() , ex.getMessage()));
} catch (IOException ex) {
  throw new SQLException(MessageFormat.format(resBundle.handleGetObject("cachedrowsetimpl.clonefail").toString() , ex.getMessage()));

代码示例来源:origin: org.ow2.jonas/jonas-commons

logger.log(BasicLevel.DEBUG, "Cannot get object from bytes : " + ode.getMessage());

代码示例来源:origin: com.sun.faces/jsf-impl

LOGGER.log(Level.SEVERE, ode.getMessage(), ode);

代码示例来源:origin: org.glassfish/javax.faces

LOGGER.log(Level.SEVERE, ode.getMessage(), ode);

代码示例来源:origin: mars-sim/mars-sim

logger.log(Level.SEVERE, "Quitting mars-sim with OptionalDataException when loading " + file + " : " + e.getMessage());
System.exit(1);

代码示例来源:origin: org.glassfish/jakarta.faces

LOGGER.log(Level.SEVERE, ode.getMessage(), ode);

代码示例来源:origin: eclipse-ee4j/mojarra

LOGGER.log(Level.SEVERE, ode.getMessage(), ode);

代码示例来源:origin: javax.faces/jsf-impl

LOGGER.log(Level.SEVERE, ode.getMessage(), ode);

相关文章