zoukankan      html  css  js  c++  java
  • log.error(msg)和log.error(msg,e)的显示区别

    log.error(msg):

    [2017-10-18 11:31:07,652] [Thread-7] (CmsCtlDataUploadFileExchange.java:50) ERROR com..prd.task.upload.bjzx.CmsCtlDataUploadFileExchange - java.lang.NullPointerException

    log.error(msg,e)

    java.lang.NullPointerException
        at com..upload.bjzx.CmsCtlDataUploadFileExchange.getSyncCTLStrJson(CmsCtlDataUploadFileExchange.java:76)
        at com.prd.task.upload.bjzx.CmsCtlDataUploadFileExchangeBJZX.transferData(CmsCtlDataUploadFileExchangeBJZX.java:43)
        at com.prd.task.upload.defaults.CmsCtlDataUploadFileExchange.transferData(CmsCtlDataUploadFileExchange.java:1)
        at com.framework.task.AbstractUploadFileExchange.loopData(AbstractUploadFileExchange.java:111)
        at com.framework.task.AbstractUploadFileExchange.process(AbstractUploadFileExchange.java:75)
        at com.framework.task.FileTaskThreadFramework.lambda$startFileTask$0(FileTaskThreadFramework.java:26)
        at java.lang.Thread.run(Thread.java:745)
  • 相关阅读:
    MYSQL之基本操作
    Python操作Mysql之基本操作
    编辑器
    iOS项目评估报告
    mac安装as配置
    屏幕适配
    CocoaPods配置步骤
    android网络监测
    获取通讯录
    json解析
  • 原文地址:https://www.cnblogs.com/toSeeMyDream/p/7685835.html
Copyright © 2011-2022 走看看