Package tlschannel
Class TlsChannelFlowControlException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
tlschannel.TlsChannelFlowControlException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
NeedsTaskException,WouldBlockException
Base class for exceptions used to control flow.
Because exceptions of this class are not used to signal errors, they don't contain stack traces, to improve efficiency.
This class inherits from IOException as a compromise to allow TlsChannel to
throw it while still implementing the ByteChannel interface.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFor efficiency, override this method to do nothing.Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TlsChannelFlowControlException
public TlsChannelFlowControlException()
-
-
Method Details
-
fillInStackTrace
For efficiency, override this method to do nothing.- Overrides:
fillInStackTracein classThrowable
-