Class NodeCastException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
club.someoneice.json.api.exception.NodeCastException
- All Implemented Interfaces:
Serializable
当 JsonNode 尝试内部转换类型时出现问题,将会抛出此错误。
这个错误不是必要的,但是它可以在一些特定情况下警告用户数据问题。
这个错误不是必要的,但是它可以在一些特定情况下警告用户数据问题。
- See Also:
-
Constructor Summary
ConstructorsConstructorDescription创建一个没有错误讯息的NodeCastException。创建一个包涵错误讯息的NodeCastException。 -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NodeCastException
public NodeCastException()创建一个没有错误讯息的NodeCastException。 -
NodeCastException
创建一个包涵错误讯息的NodeCastException。- Parameters:
s- 抛出的错误讯息。
-