Class NodeCastException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
club.someoneice.json.api.exception.NodeCastException
All Implemented Interfaces:
Serializable

public class NodeCastException extends RuntimeException
当 JsonNode 尝试内部转换类型时出现问题,将会抛出此错误。
这个错误不是必要的,但是它可以在一些特定情况下警告用户数据问题。
See Also:
  • Constructor Details

    • NodeCastException

      public NodeCastException()
      创建一个没有错误讯息的 NodeCastException。
    • NodeCastException

      public NodeCastException(String s)
      创建一个包涵错误讯息的 NodeCastException。
      Parameters:
      s - 抛出的错误讯息。