suppose you are writing a square root method, and you want the method to throw an exception if its argument is negative. write the definition of an ex