Serializablepublic class ZSONException extends RuntimeException
ohos.utils.zson package.| 构造器 | 说明 |
|---|---|
ZSONException(Exception e) |
A constructor used to create a
ZSONException object with a specified source exception. |
ZSONException(String message) |
A constructor used to create a
ZSONException object with specified exception information. |
public ZSONException(String message)
ZSONException object with specified exception information.message - Indicates the exception information.public ZSONException(Exception e)
ZSONException object with a specified source exception.e - Indicates the source exception.