Contents
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
Thrown when the JSON input nests deeper than the reader's configured limit.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the nesting limit that the rejected input exceeded.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
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.
-