aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/firrtl/FirrtlException.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/scala/firrtl/FirrtlException.scala')
-rw-r--r--src/main/scala/firrtl/FirrtlException.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/scala/firrtl/FirrtlException.scala b/src/main/scala/firrtl/FirrtlException.scala
index 91d5350e..685718cd 100644
--- a/src/main/scala/firrtl/FirrtlException.scala
+++ b/src/main/scala/firrtl/FirrtlException.scala
@@ -4,7 +4,7 @@ package firrtl
import scala.util.control.NoStackTrace
-@deprecated("External users should use either FirrtlUserException or their own hierarchy", "1.2")
+@deprecated("External users should use either FirrtlUserException or their own hierarchy", "FIRRTL 1.2")
object FIRRTLException {
def defaultMessage(message: String, cause: Throwable) = {
if (message != null) {
@@ -16,7 +16,7 @@ object FIRRTLException {
}
}
}
-@deprecated("External users should use either FirrtlUserException or their own hierarchy", "1.2")
+@deprecated("External users should use either FirrtlUserException or their own hierarchy", "FIRRTL 1.2")
class FIRRTLException(val str: String, cause: Throwable = null)
extends RuntimeException(FIRRTLException.defaultMessage(str, cause), cause)