How to publish exceptions in an API
<p>If I have a method call that throws two exceptions, but one exception is a super-class of the other, should I throw both exceptions in the method signature, or just the super-class exception? I just wonder how it will look for an exception to be thrown as one instance but published as that instance's super-class.  </p>
