diff options
| author | Jiuyang Liu | 2020-11-10 00:12:06 +0000 |
|---|---|---|
| committer | GitHub | 2020-11-10 00:12:06 +0000 |
| commit | 92af63c599fc480f6480ee22f23763f54881085f (patch) | |
| tree | b4fde701d44a0d5a0d44d3a05489a61481762a7f /src/main/scala/firrtl/FirrtlException.scala | |
| parent | fe95544d573fff9bb114b3302986aa746e1f4763 (diff) | |
Refactor emiter (#1879)
* split big Emitter to submodules.
* fix all deprecated warning.
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Diffstat (limited to 'src/main/scala/firrtl/FirrtlException.scala')
| -rw-r--r-- | src/main/scala/firrtl/FirrtlException.scala | 4 |
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) |
