summaryrefslogtreecommitdiff
path: root/src/main/scala/Chisel/throwException.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/scala/Chisel/throwException.scala')
-rw-r--r--src/main/scala/Chisel/throwException.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/scala/Chisel/throwException.scala b/src/main/scala/Chisel/throwException.scala
index 1932bec8..702884aa 100644
--- a/src/main/scala/Chisel/throwException.scala
+++ b/src/main/scala/Chisel/throwException.scala
@@ -3,6 +3,7 @@
package Chisel
@deprecated("throwException doesn't exist in Chisel3", "3.0.0")
+@throws(classOf[Exception])
object throwException {
def apply(s: String, t: Throwable = null) = {
val xcpt = new Exception(s, t)