In openJDK this exception would be a BufferUnderflowException