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.scala16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/main/scala/firrtl/FirrtlException.scala b/src/main/scala/firrtl/FirrtlException.scala
index 685718cd..9df881bc 100644
--- a/src/main/scala/firrtl/FirrtlException.scala
+++ b/src/main/scala/firrtl/FirrtlException.scala
@@ -4,22 +4,6 @@ package firrtl
import scala.util.control.NoStackTrace
-@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) {
- message
- } else if (cause != null) {
- cause.toString
- } else {
- null
- }
- }
-}
-@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)
-
/** Exception indicating user error
*
* These exceptions indicate a problem due to bad input and thus do not include a stack trace.