blob: 998b2cd669988e31a29539b6bf9f59f902df1851 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// See LICENSE for details
package Chisel
@deprecated("throwException doesn't exist in Chisel3", "3.0.0")
object throwException {
def apply(s: String, t: Throwable = null) = {
val xcpt = new Exception(s, t)
throw xcpt
}
}
|