Class JsonError
-
Constructor Summary
Constructors
使用指定的错误消息创建JsonError对象的构造函数。
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
JsonError
public JsonError(String errorMessage)
使用指定的错误消息创建JsonError对象的构造函数。
- Parameters:
errorMessage
- 错误消息。
-
Method Details
-
getErrorMessage
public String getErrorMessage()
获取错误信息。