title: How can I fix 'No exception of type SomeException can be thrown; an exception type must be a subclass of Throwable'
body: <p>I have java webstart app and want to use app API for testing purposes.
  So I get required (as I assumed) library from webserver and install it to maven repository.
  And all is fine except custom exception which received </p>
  
  <blockquote>
    <p>No exception of type <code>SomeException</code> can be thrown; an exception type must be a subclass of <code>Throwable</code></p>
  </blockquote>
  
  <p>As I understand from similar topics - some jar library is missing, is there some way to know which one? or maybe there is other way to fix this? (of course I can install all jars which used for app, but there are over 90 jar's).</p>