aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSchuyler Eldridge2020-03-23 18:59:38 -0400
committerGitHub2020-03-23 22:59:38 +0000
commitbdac6e1c55694f1562a56b2eb0716733bd2f1fc0 (patch)
treecfc5757db2ddc1df7dce6ffa6f61e61479f0667a /src
parent5efcde9fccf81c9ee03a1029b1a41fa4345d9fba (diff)
Support Java API doc Scaladoc/Unidoc References (#1420)
* Link to Java API Documentation This adds a build.sbt apiMappings to allow for Scaladoc/Unidoc linking to Java API documentation. This uses the exact strategy that Scala upstream uses for linking. Signed-off-by: Schuyler Eldridge <schuyler.eldridge@ibm.com> * Add example of Java and Scala API docs linking Signed-off-by: Schuyler Eldridge <schuyler.eldridge@ibm.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Diffstat (limited to 'src')
-rw-r--r--src/main/scala/firrtl/options/Exceptions.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/scala/firrtl/options/Exceptions.scala b/src/main/scala/firrtl/options/Exceptions.scala
index 38b2f2e2..3773e156 100644
--- a/src/main/scala/firrtl/options/Exceptions.scala
+++ b/src/main/scala/firrtl/options/Exceptions.scala
@@ -11,6 +11,8 @@ class PhaseException(val message: String, cause: Throwable = null) extends Runti
/** Indicate an error related to a bad [[firrtl.annotations.Annotation Annotation]] or it's command line option
* equivalent. This exception is always caught and converted to an error message by a [[Stage]]. Do not use this for
* communicating generic exception information.
+ * @param message exception message [[scala.Predef.String String]]
+ * @param cause the reason for this exception (a Java [[java.lang.Throwable Throwable]])
*/
class OptionsException(val message: String, cause: Throwable = null) extends IllegalArgumentException(message, cause)