title: Why does CodePro junit test methods throw Exception (in Eclipse)?
body: <p>Eclipse's CodePro generates JUnit tests, however, all test methods that it generates throw <code>Exception</code> even if it is impossible for a checked exception to be thrown. Is this a limitation of CodePro, or a good JUnit practice I haven't seen before?  </p>
  
  <p>For example: </p>
  
  <pre><code>@Test
  public void testCategory_1()
      throws Exception {
      String categoryName = "";
  
      Category result = new Category(categoryName);
  
      // add additional test code here
      assertNotNull(result);
      assertEquals(null, result.getCategoryName());
  }
  </code></pre>
  
  <p>Where <code>new Category(String)</code> and <code>result.getCategoryName()</code> don't throw any checked exceptions.</p>