Class DepthLimitedJsonReader.MaxDepthExceededException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.hypixel.hytale.server.core.util.DepthLimitedJsonReader.MaxDepthExceededException
All Implemented Interfaces:
Serializable
Enclosing class:
DepthLimitedJsonReader

public static final class DepthLimitedJsonReader.MaxDepthExceededException extends RuntimeException
Thrown when the JSON input nests deeper than the reader's configured limit.
See Also:
  • Constructor Details

    • MaxDepthExceededException

      public MaxDepthExceededException(int maxDepth)
      Parameters:
      maxDepth - the nesting limit that the rejected input exceeded
  • Method Details

    • getMaxDepth

      public int getMaxDepth()
      Returns the nesting limit that the rejected input exceeded.