blob: fdd62c7ec7345b8fe26b1023e8c7783335d0c6f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// See LICENSE for license details.
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)
throw xcpt
}
}
|