java.util.NoSuchElementException.getLocalizedMessage()方法的使用及代码示例

x33g5p2x  于2022-01-24 转载在 其他  
字(2.0k)|赞(0)|评价(0)|浏览(136)

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

NoSuchElementException.getLocalizedMessage介绍

暂无

代码示例

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

LOGGER.log(Level.SEVERE, e.getLocalizedMessage(), e);
throw new DataSourceException(e);

代码示例来源:origin: com.ebay.jetstream/jetstream-messaging

public void setUrlList(List<String> urlList) {
    this.m_urlList = urlList;

    Iterator<String> itr =  urlList.iterator();

    String uriStr = "";
    while(itr.hasNext()) {
      URI uri;
      try {
        uriStr = itr.next();
        uri = new URI(uriStr);
        m_uriList.add(uri);
      } catch (NoSuchElementException e) {
        LOGGER.error( "Failed to create URI for" + uriStr + " : " + e.getLocalizedMessage());
      } catch (URISyntaxException e) {
        LOGGER.error( "Failed to create URI for" + uriStr + " : " + e.getLocalizedMessage());
        
      }
    }
  }
}

代码示例来源:origin: org.geotools/gt-arcgrid

LOGGER.log(Level.SEVERE, e.getLocalizedMessage(), e);
throw new DataSourceException(e);

代码示例来源:origin: org.geoserver.community/gs-sldservice

LOGGER.log(
        Level.FINE,
        "The following exception has occurred " + e.getLocalizedMessage(),
        e);
} catch (IOException e) {

代码示例来源:origin: org.geotools/gt2-arcgrid

LOGGER.log(Level.SEVERE, e.getLocalizedMessage(), e);
throw new DataSourceException(e);

代码示例来源:origin: eea/eea.elasticsearch.river.rdf

+ e.getLocalizedMessage());
return null;

代码示例来源:origin: org.apache.ctakes/ctakes-drug-ner

iv_logger.info(nsee.getLocalizedMessage());

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

iv_logger.info(nsee.getLocalizedMessage());

代码示例来源:origin: org.geoserver/wms

} catch (NoSuchElementException ne) {
  throw new WmsException(ne, new StringBuffer(layer)
      .append(" layer does not exists.").toString(), ne.getLocalizedMessage());
} catch (TransformException te) {
  throw new WmsException(te, "Can't obtain the schema for the required layer.", te

相关文章