Atitit 跨平台异常处理--------异常转换 -----java c# js异常对象结构比较and转换
Posted attilaxAti
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Atitit 跨平台异常处理--------异常转换 -----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)
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Properties
|
Name |
Description |
|
Gets a collection of key/value pairs that provide additional user-defined information about the exception. |
|
|
Gets or sets a link to the help file associated with this exception. |
|
|
Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. |
|
|
Gets the Exception instance that caused the current exception. |
|
|
Gets a message that describes the current exception. |
|
|
Gets or sets the name of the application or the object that causes the error. |
|
|
Gets a string representation of the immediate frames on the call stack. |
|
|
Gets the method that throws the current exception. |
作者:: 绰号:老哇的爪子 ( 全名::Attilax Akbar Al Rapanui 阿提拉克斯 阿克巴 阿尔 拉帕努伊 )
汉字名:艾提拉(艾龙), EMAIL:1466519819@qq.com
转载请注明来源: http://www.cnblogs.com/attilax/
Atiend
以上是关于Atitit 跨平台异常处理--------异常转换 -----java c# js异常对象结构比较and转换的主要内容,如果未能解决你的问题,请参考以下文章
Atitit mysql 存储过程捕获所有异常,以及日志记录异常信息