Package io.undertow.util
Class TruncatedResponseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
io.undertow.util.TruncatedResponseException
- All Implemented Interfaces:
Serializable
An exception indicating that the response channel was prematurely closed. The response channel must be shut
down and flushed successfully after all requests, even those which do not send a response body.
- Author:
- David M. Lloyd
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs aTruncatedResponseExceptionwith no detail message.Constructs aTruncatedResponseExceptionwith the specified detail message.TruncatedResponseException(String msg, Throwable cause) Constructs aTruncatedResponseExceptionwith the specified detail message and cause.Constructs aTruncatedResponseExceptionwith the specified 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
-
TruncatedResponseException
public TruncatedResponseException()Constructs aTruncatedResponseExceptionwith no detail message. The cause is not initialized, and may subsequently be initialized by a call toinitCause. -
TruncatedResponseException
Constructs aTruncatedResponseExceptionwith the specified detail message. The cause is not initialized, and may subsequently be initialized by a call toinitCause.- Parameters:
msg- the detail message
-
TruncatedResponseException
Constructs aTruncatedResponseExceptionwith the specified cause. The detail message is set to:(cause == null ? null : cause.toString())
(which typically contains the class and detail message ofcause).- Parameters:
cause- the cause (which is saved for later retrieval by theThrowable.getCause()method)
-
TruncatedResponseException
Constructs aTruncatedResponseExceptionwith the specified detail message and cause.- Parameters:
msg- the detail messagecause- the cause (which is saved for later retrieval by theThrowable.getCause()method)
-