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

matthew_swift
28.47.2010 cc556edc003e4fb8df13611167fab0d9fd3890f9
opendj-sdk/sdk/src/org/opends/sdk/ErrorResultIOException.java
@@ -36,8 +36,8 @@
/**
 * An {@code ErrorResultIOException} adapts an {@code
 * ErrorResultException} to an {@code IOException}.
 * An {@code ErrorResultIOException} adapts an {@code ErrorResultException} to
 * an {@code IOException}.
 */
@SuppressWarnings("serial")
public final class ErrorResultIOException extends IOException
@@ -50,12 +50,12 @@
   * Creates a new error result IO exception with the provided cause.
   *
   * @param cause
   *          The cause which may be later retrieved by the
   *          {@link #getCause} method.
   *          The cause which may be later retrieved by the {@link #getCause}
   *          method.
   * @throws NullPointerException
   *           If {@code cause} was {@code null}.
   */
  public ErrorResultIOException(ErrorResultException cause)
  public ErrorResultIOException(final ErrorResultException cause)
      throws NullPointerException
  {
    super(Validator.ensureNotNull(cause));
@@ -68,6 +68,7 @@
  /**
   * {@inheritDoc}
   */
  @Override
  public ErrorResultException getCause()
  {
    return cause;