title: Scala @throws multiple exceptions
body: <p>I need to call scala code from java, so I need to tell the compiler that a certain method throws certain exceptions. This is <a href="https://stackoverflow.com/q/20006823/1595865">easy to do for one exception</a>, but I'm struggling to declare that a method throws multiple exceptions.</p>
  
  <p>This doesn't work:</p>
  
  <pre><code>@throws( classOf[ ExceptionA ], classOf[ExceptionB] )
  </code></pre>
  
  <p>And, obviously, neither does this:</p>
  
  <pre><code>@throws( classOf[ ExceptionA , ExceptionB] )
  </code></pre>