ThrownException
object ThrownException
Extracts the type of the thrown exception from an annotation.
Supports both "old-style" @throws(classOf[Exception])
as well as "new-style" @throws[Exception]("cause")
annotations.
Extracts the type of the thrown exception from an annotation.
Supports both "old-style" @throws(classOf[Exception])
as well as "new-style" @throws[Exception]("cause")
annotations.