mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

matthew_swift
28.47.2010 f2160f4bd1c8ac67e5a86a6710d431e8932877f9
sdk/src/org/opends/sdk/LocalizedIllegalArgumentException.java
@@ -29,26 +29,21 @@
/**
 * Thrown to indicate that a method has been passed an illegal or
 * inappropriate argument.
 * Thrown to indicate that a method has been passed an illegal or inappropriate
 * argument.
 * <p>
 * A {@code LocalizedIllegalArgumentException} contains a localized
 * error message which maybe used to provide the user with detailed
 * diagnosis information. The localized message can be retrieved using
 * the {@link #getMessageObject} method.
 * A {@code LocalizedIllegalArgumentException} contains a localized error
 * message which maybe used to provide the user with detailed diagnosis
 * information. The localized message can be retrieved using the
 * {@link #getMessageObject} method.
 * <p>
 * A {@code LocalizedIllegalArgumentException} is typically used to
 * indicate problems parsing values such as distinguished names and
 * filters.
 * A {@code LocalizedIllegalArgumentException} is typically used to indicate
 * problems parsing values such as distinguished names and filters.
 */
@SuppressWarnings("serial")
public class LocalizedIllegalArgumentException extends
    IllegalArgumentException implements LocalizableException
public class LocalizedIllegalArgumentException extends IllegalArgumentException
    implements LocalizableException
{
  // The I18N message associated with this exception.
  private final LocalizableMessage message;
@@ -56,13 +51,13 @@
  /**
   * Creates a new localized illegal argument exception with the
   * provided message.
   * Creates a new localized illegal argument exception with the provided
   * message.
   *
   * @param message
   *          The message that explains the problem that occurred.
   */
  public LocalizedIllegalArgumentException(LocalizableMessage message)
  public LocalizedIllegalArgumentException(final LocalizableMessage message)
  {
    super(String.valueOf(message));
    this.message = message;
@@ -71,19 +66,18 @@
  /**
   * Creates a new localized illegal argument exception with the
   * provided message and cause.
   * Creates a new localized illegal argument exception with the provided
   * message and cause.
   *
   * @param message
   *          The message that explains the problem that occurred.
   * @param cause
   *          The cause which may be later retrieved by the
   *          {@link #getCause} method. A {@code null} value is
   *          permitted, and indicates that the cause is nonexistent or
   *          unknown.
   *          The cause which may be later retrieved by the {@link #getCause}
   *          method. A {@code null} value is permitted, and indicates that the
   *          cause is nonexistent or unknown.
   */
  public LocalizedIllegalArgumentException(LocalizableMessage message,
      Throwable cause)
  public LocalizedIllegalArgumentException(final LocalizableMessage message,
      final Throwable cause)
  {
    super(String.valueOf(message), cause);
    this.message = message;