Skip to content

hprose.io.access.PropertyAccessor在序列化和反序列化过程中如果出现异常,堆栈信息不完整 #27

@wtslh

Description

@wtslh

v2.0.33,对实体的序列化和反序列化过程中如果出现异常。以getter为例,调用getter并在getter内部出现异常后,现在的catch会捕获异常,然后throw new HproseException(e.getMessage());
这种情况下,异常堆栈丢失,导致序列化过程出现异常后很难排查错误原因。
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions