Consistent use of @throws instead of @exception
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2017 the original author or authors.
|
||||
* Copyright 2002-2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -223,7 +223,7 @@ public class MBeanExporter extends MBeanRegistrationSupport implements MBeanExpo
|
||||
|
||||
/**
|
||||
* Set the autodetection mode to use.
|
||||
* @exception IllegalArgumentException if the supplied value is not
|
||||
* @throws IllegalArgumentException if the supplied value is not
|
||||
* one of the {@code AUTODETECT_} constants
|
||||
* @see #setAutodetectModeName(String)
|
||||
* @see #AUTODETECT_ALL
|
||||
@@ -240,7 +240,7 @@ public class MBeanExporter extends MBeanRegistrationSupport implements MBeanExpo
|
||||
|
||||
/**
|
||||
* Set the autodetection mode to use by name.
|
||||
* @exception IllegalArgumentException if the supplied value is not resolvable
|
||||
* @throws IllegalArgumentException if the supplied value is not resolvable
|
||||
* to one of the {@code AUTODETECT_} constants or is {@code null}
|
||||
* @see #setAutodetectMode(int)
|
||||
* @see #AUTODETECT_ALL
|
||||
|
||||
Reference in New Issue
Block a user