本文整理了Java中org.codehaus.jettison.json.JSONException.getLocalizedMessage()
方法的一些代码示例,展示了JSONException.getLocalizedMessage()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JSONException.getLocalizedMessage()
方法的具体详情如下:
包路径:org.codehaus.jettison.json.JSONException
类名称:JSONException
方法名:getLocalizedMessage
暂无
代码示例来源:origin: Netflix/Priam
uploadStatus,
abp.getFileName(),
exception.getLocalizedMessage());
代码示例来源:origin: org.opendaylight.centinel/centinel-streamhandler
public KafkaStreamProducer(String topic, Boolean isAsync, String message, String type,
KafkaProducer<Long, String> producer) {
synchronized (producer) {
this.producer = producer;
}
JSONObject data = null;
if (type.equals("syslog")) {
try {
data = parseLogMessage(message);
this.message = data.toString();
} catch (JSONException e) {
log.error(e.getLocalizedMessage(), e);
}
} else {
this.message = message;
}
this.topic = topic;
this.isAsync = isAsync;
this.key = System.currentTimeMillis();
}
代码示例来源:origin: org.onap.ccsdk.sli.plugins/properties-node-provider
throw new SvcLogicException("Unable to convert JSON to properties " + e.getLocalizedMessage(), e);
代码示例来源:origin: org.onap.ccsdk.sli.plugins/restapi-call-node-provider
throw new SvcLogicException("Unable to convert JSON to properties" + e.getLocalizedMessage(), e);
代码示例来源:origin: org.opendaylight.centinel/centinel-streamhandler
body = new JSONObject(eventBody);
} catch (JSONException e2) {
LOG.error(e2.getLocalizedMessage(), e2);
内容来源于网络,如有侵权,请联系作者删除!