To check whether my code is correct or not
<p>void addEntry(Integer newEntry) 
throws SimulationException </p>

<p>Adds a new entry to the log. 
Existing entries are shifted along one place in the window accordingly. 
Parameters: 
<strong>newEntry</strong> - the new value to be added to the log</p>

<p>Throws: 
<strong>SimulationException</strong> - if the given value is not in the range 0 to maxEntry, inclusive </p>

<p>how does the code look like ? does it look like this ? </p>

<pre><code>public void addEntry(Integer newEntry) throws SimulationException{  

    } 
</code></pre>
