| | |
| | | * |
| | | * |
| | | * Copyright 2010 Sun Microsystems, Inc. |
| | | * Portions copyright 2012 ForgeRock AS. |
| | | */ |
| | | |
| | | package org.forgerock.opendj.ldap.responses; |
| | |
| | | * @throws NullPointerException |
| | | * If {@code resultCode} was {@code null}. |
| | | */ |
| | | AbstractResultImpl(final ResultCode resultCode) throws NullPointerException |
| | | AbstractResultImpl(final ResultCode resultCode) |
| | | { |
| | | this.resultCode = resultCode; |
| | | } |
| | |
| | | * @throws NullPointerException |
| | | * If {@code result} was {@code null}. |
| | | */ |
| | | AbstractResultImpl(Result result) throws NullPointerException |
| | | AbstractResultImpl(Result result) |
| | | { |
| | | super(result); |
| | | this.cause = result.getCause(); |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public final S addReferralURI(final String uri) throws NullPointerException |
| | | public final S addReferralURI(final String uri) |
| | | { |
| | | Validator.ensureNotNull(uri); |
| | | |
| | |
| | | * {@inheritDoc} |
| | | */ |
| | | public final S setResultCode(final ResultCode resultCode) |
| | | throws NullPointerException |
| | | { |
| | | Validator.ensureNotNull(resultCode); |
| | | |