title: Array Constructor with IllegalArgumentException Constructor
body: <p>For my constructor this is what I have done down below, and that’s the code of block I’ve written so far even though I’m pretty sure it’s wrong, so how can I write the constructor for this down below?
  Thank you :)</p>
  
  <p>For this constructor I have to initialise the grid with a given array, and if the array is of size zero in any dimension I have to throw an IllegalArgumentException. The constructor should also check whether the boarder of the cell is valid and if not, throw an IllegalArgumentException.</p>
  
  <pre><code>public class Grid {
  
  private Cell[][] cells;
  
  public Grid(Cell[][] cells) {
  
      if(cells == 0) {
     } throw new IllegalArgumentException("Height or Width value is less than or equal to zero");
  </code></pre>