Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add support for @throws[Exception] #6380
Currently only @throws(classOf[Exception]) is supported.
@throws[Exception] improves on the code before:
Care is taken that the addition doesn't break anything. Because the serialization stays the same, it won't even change anything on the binary compat front.
See https://groups.google.com/d/msg/scala-internals/EyE9DJ0EbUY/pkZ9qkVP72IJ for the discussion.
Imported From: https://issues.scala-lang.org/browse/SI-6380?orig=1