Module 10. Exception Handling Exercise Answers

1.
     throw InvalidInput ();


2.
    catch (InvalidInput){ /*...*/ }


3.
      void changeWeight (int) throw (UnderWeight);