Class InsufficientDataException

  • All Implemented Interfaces:
    java.io.Serializable

    class InsufficientDataException
    extends WebSocketException
    • Constructor Summary

      Constructors 
      Constructor Description
      InsufficientDataException​(int requestedByteCount, int readByteCount)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getReadByteCount()  
      int getRequestedByteCount()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, 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
    • Field Detail

      • mRequestedByteCount

        private final int mRequestedByteCount
      • mReadByteCount

        private final int mReadByteCount
    • Constructor Detail

      • InsufficientDataException

        public InsufficientDataException​(int requestedByteCount,
                                         int readByteCount)
    • Method Detail

      • getRequestedByteCount

        public int getRequestedByteCount()
      • getReadByteCount

        public int getReadByteCount()