Searched refs:ExplosionException (Results 1 – 2 of 2) sorted by relevance
429 public DefectiveCar() throws ExplosionException { in DefectiveCar()430 throw new ExplosionException(); in DefectiveCar()434 public static class ExplosionException extends Exception {} class in FactoryProviderTest456 Car createCar() throws FireException, ExplosionException; in createCar()476 } catch (ExplosionException expected) { in testConstructorExceptionsAreThrownByFactory()482 public MultipleConstructorDefectiveCar() throws ExplosionException { in MultipleConstructorDefectiveCar()483 throw new ExplosionException(); in MultipleConstructorDefectiveCar()494 Car createCar() throws ExplosionException; in createCar()517 } catch (ExplosionException expected) { in testMultipleConstructorExceptionMatching()
430 public DefectiveCar() throws ExplosionException { in DefectiveCar()431 throw new ExplosionException(); in DefectiveCar()435 public static class ExplosionException extends Exception {} class in FactoryProvider2Test448 Car createCar() throws FireException, ExplosionException; in createCar()468 } catch (ExplosionException expected) { in testConstructorExceptionsAreThrownByFactory()