Cleanup: add exceptions in StockExchange.java