Permalink
Browse files

Fix documentation tag in `Filters.scala`.

As @dotta suggested, it should be `@throws` and not `@exception`.
  • Loading branch information...
1 parent 5ce9760 commit 81c488ba1b037d0ca0560a12f335222f0ad88653 @gkossakowski gkossakowski committed Feb 21, 2013
View
2 core/src/main/scala/com/typesafe/tools/mima/core/Filters.scala
@@ -20,7 +20,7 @@ object ProblemFilters {
*
* The problemName is name of a class corresponding to a problem like `AbstractMethodProblem`.
*
- * @exception ClassNotFoundException if the class corresponding to the problem cannot be located
+ * @throws ClassNotFoundException if the class corresponding to the problem cannot be located
*/
def exclude(problemName: String, name: String): ProblemFilter = {
val problemClass: Class[_ <: ProblemRef] = Class.forName("com.typesafe.tools.mima.core." + problemName).asInstanceOf[Class[_ <: ProblemRef]]
View
4 reporter/src/main/scala/com/typesafe/tools/mima/cli/ProblemFiltersConfig.scala
@@ -13,8 +13,8 @@ object ProblemFiltersConfig {
/**
* Parses Config definition into sequence of problem filters.
*
- * @exception ConfigException
- * @exception ClassNotFoundException if filter rule uses `problemName` that does not
+ * @throws ConfigException
+ * @throws ClassNotFoundException if filter rule uses `problemName` that does not
* correspond to existing Problem class.
*/
def parseProblemFilters(config: Config): Seq[ProblemFilter] = {

0 comments on commit 81c488b

Please sign in to comment.