title: Issues trying throw checked exception with mockito
body: <p>I have the below interface</p>
  
  <pre><code>public interface Interface1 {
      Object Execute(String commandToExecute) throws Exception;
  }
  </code></pre>
  
  <p>which then I 'm trying to mock so I can test the behaviour of the class that will call it:</p>
  
  <pre><code>Interface1 interfaceMocked = mock(Interface1.class);
  when(interfaceMocked.Execute(anyString())).thenThrow(new Exception());
  Interface2 objectToTest = new ClassOfInterface2(interfaceMocked);
  retrievePrintersMetaData.Retrieve();
  </code></pre>
  
  <p>But the compiler tells me that there is an unhandled exception.
  The definition of the Retrieve method is:</p>
  
  <pre><code>public List&lt;SomeClass&gt; Retrieve() {
      try {
          interface1Object.Execute("");
      }
      catch (Exception exception) {
          return new ArrayList&lt;SomeClass&gt;();
      }
  }
  </code></pre>
  
  <p>The mockito documentation only shows uses of RuntimeException, and I have not seen anything on similar on StackOverflow.
  I'm using Java 1.7u25 and mockito 1.9.5</p>