Fixed wrong exception message.