BurntException initially was thrown whenever a burn condition on the
potato was detected, however the constructors for BurntException were
very similar and could have collided. Instead, split it out into two new
exceptions - BurntTimeException and BurntTemperatureException.
BurntException initially was thrown whenever a burn condition on the potato was detected, however the constructors for BurntException were very similar and could have collided. Instead, split it out into two new exceptions - BurntTimeException and BurntTemperatureException.