Package com.alibaba.fastjson2
Class JSONLargeObjectException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.alibaba.fastjson2.JSONException
com.alibaba.fastjson2.JSONLargeObjectException
- All Implemented Interfaces:
Serializable
Exception thrown when attempting to serialize an object that exceeds size limits
and the LargeObject feature is not enabled.
- Since:
- 2.0.58
- Author:
- wenshao
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionJSONLargeObjectException(String message) Constructs a new JSONLargeObjectException with the specified detail message.JSONLargeObjectException(String message, Throwable cause) Constructs a new JSONLargeObjectException with the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JSONLargeObjectException
Constructs a new JSONLargeObjectException with the specified detail message.- Parameters:
message- the detail message
-
JSONLargeObjectException
Constructs a new JSONLargeObjectException with the specified detail message and cause.- Parameters:
message- the detail messagecause- the cause of the exception
-