Package tlschannel

Class TlsChannelFlowControlException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
tlschannel.TlsChannelFlowControlException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
NeedsTaskException, WouldBlockException

public abstract class TlsChannelFlowControlException
extends java.io.IOException
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:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    TlsChannelFlowControlException()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.Throwable fillInStackTrace()
    For 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • fillInStackTrace

      public java.lang.Throwable fillInStackTrace()
      For efficiency, override this method to do nothing.
      Overrides:
      fillInStackTrace in class java.lang.Throwable