diff --git a/java/code/src/com/redhat/rhn/domain/product/test/SUSEProductTestUtils.java b/java/code/src/com/redhat/rhn/domain/product/test/SUSEProductTestUtils.java index 4a841634cf5c..91ac31396d7f 100644 --- a/java/code/src/com/redhat/rhn/domain/product/test/SUSEProductTestUtils.java +++ b/java/code/src/com/redhat/rhn/domain/product/test/SUSEProductTestUtils.java @@ -85,7 +85,7 @@ private SUSEProductTestUtils() { * @param family the channel family * @return the newly created SUSE product */ - public static SUSEProduct createTestSUSEProduct(ChannelFamily family) { + public static SUSEProduct createTestSUSEProduct(ChannelFamily family) throws Exception { return createTestSUSEProduct(family, TestUtils.randomString().toLowerCase()); } /**