Fix JavaDoc warnings by explaning why UnsupportedOperationException is thrown

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1585281 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benedikt Ritter 2014-04-06 10:41:55 +00:00
parent a57ca055e7
commit 6f20b527e6
1 changed files with 4 additions and 4 deletions

View File

@ -212,7 +212,7 @@ public final void applyPattern(final String pattern) {
*
* @param formatElementIndex format element index
* @param newFormat the new format
* @throws UnsupportedOperationException
* @throws UnsupportedOperationException always thrown since this isn't supported by ExtendMessageFormat
*/
@Override
public void setFormat(final int formatElementIndex, final Format newFormat) {
@ -224,7 +224,7 @@ public void setFormat(final int formatElementIndex, final Format newFormat) {
*
* @param argumentIndex argument index
* @param newFormat the new format
* @throws UnsupportedOperationException
* @throws UnsupportedOperationException always thrown since this isn't supported by ExtendMessageFormat
*/
@Override
public void setFormatByArgumentIndex(final int argumentIndex, final Format newFormat) {
@ -235,7 +235,7 @@ public void setFormatByArgumentIndex(final int argumentIndex, final Format newFo
* Throws UnsupportedOperationException - see class Javadoc for details.
*
* @param newFormats new formats
* @throws UnsupportedOperationException
* @throws UnsupportedOperationException always thrown since this isn't supported by ExtendMessageFormat
*/
@Override
public void setFormats(final Format[] newFormats) {
@ -246,7 +246,7 @@ public void setFormats(final Format[] newFormats) {
* Throws UnsupportedOperationException - see class Javadoc for details.
*
* @param newFormats new formats
* @throws UnsupportedOperationException
* @throws UnsupportedOperationException always thrown since this isn't supported by ExtendMessageFormat
*/
@Override
public void setFormatsByArgumentIndex(final Format[] newFormats) {