zoukankan      html  css  js  c++  java
  • Atitit 跨平台异常处理(2)异常转换 java c# js异常对象结构比较and转换

    Atitit 跨平台异常处理(2)--------异常转换 -----java c# js异常对象结构比较and转换

     

     

    {

    "@type":"java.lang.RuntimeException",

    "cause":{

    "@type":"com.attilax.sql.EmptyRzt",

    "localizedMessage":"mmmm1",

    "message":"mmmm1",

    "stackTrace":[{

    "className":"com.attilax.encry.rsaTest",

    "fileName":"rsaTest.java",

    "lineNumber":37,

    "methodName":"t2",

    "nativeMethod":false

    },{

    "className":"com.attilax.encry.rsaTest",

    "fileName":"rsaTest.java",

    "lineNumber":27,

    "methodName":"t",

    "nativeMethod":false

    },{

    "className":"com.attilax.encry.rsaTest",

    "fileName":"rsaTest.java",

    "lineNumber":16,

    "methodName":"main",

    "nativeMethod":false

    }],

    "suppressed":[]

    },

    "localizedMessage":"biz ex",

    "message":"biz ex",

    "stackTrace":[{

    "className":"com.attilax.encry.rsaTest",

    "fileName":"rsaTest.java",

    "lineNumber":29,

    "methodName":"t",

    "nativeMethod":false

    },{

    "className":"com.attilax.encry.rsaTest",

    "fileName":"rsaTest.java",

    "lineNumber":16,

    "methodName":"main",

    "nativeMethod":false

    }],

    "suppressed":[]

    }

     

    system.exception

    Exception Properties

    .NET Framework (current version)

    Other Versions

     

    Namespace:   System
    Assembly:  mscorlib (in mscorlib.dll)

    Properties

     

    Name

    Description

    Data

    Gets a collection of key/value pairs that provide additional user-defined information about the exception.

    HelpLink

    Gets or sets a link to the help file associated with this exception.

    HResult

    Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception.

    InnerException

    Gets the Exception instance that caused the current exception.

    Message

    Gets a message that describes the current exception.

    Source

    Gets or sets the name of the application or the object that causes the error.

    StackTrace

    Gets a string representation of the immediate frames on the call stack.

    TargetSite

    Gets the method that throws the current exception.

     

     

    作者:: 绰号:老哇的爪子 ( 全名::Attilax Akbar Al Rapanui 阿提拉克斯 阿克巴 阿尔 拉帕努伊 ) 

    汉字名:艾提拉(艾龙)   EMAIL:1466519819@qq.com

    转载请注明来源: http://blog.csdn.net/attilax

    Atiend

     

  • 相关阅读:
    11. 优秀的基数统计算法--HyperLogLog
    10. Redis实现限流功能
    9. Redis中游标迭代器(scan)
    8. 使用Redis查询附近的人或商家
    7. Redis的管道技术
    6. Redis在内存用完时会怎么办?以及Redis如何处理已过期的数据?
    5. 详解Redis中的事务
    4. Redis的配置文件以及持久化
    2020.7.15 遇到一个bug
    A Review of Visual Tracking with Deep Learning
  • 原文地址:https://www.cnblogs.com/attilax/p/15198366.html
Copyright © 2011-2022 走看看