Package com.linecorp.armeria.common
Class NoHttpContentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.linecorp.armeria.common.NoHttpContentException
- All Implemented Interfaces:
Serializable
A
RuntimeException
that is raised when attempted to access a null request or response content.- See Also:
-
Constructor Summary
ConstructorDescriptionCreates a new instance.NoHttpContentException
(@Nullable String message) Creates a new instance with the specifiedmessage
.NoHttpContentException
(@Nullable String message, @Nullable Throwable cause) Creates a new instance with the specifiedmessage
andcause
.Creates a new instance with the specifiedcause
. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NoHttpContentException
public NoHttpContentException()Creates a new instance. -
NoHttpContentException
public NoHttpContentException(@Nullable @Nullable String message, @Nullable @Nullable Throwable cause) Creates a new instance with the specifiedmessage
andcause
. -
NoHttpContentException
Creates a new instance with the specifiedmessage
. -
NoHttpContentException
Creates a new instance with the specifiedcause
.
-