Why are I encountering an unreported exception error when testing for an exception in JUnit

join shbcf.ru