| | |
| | | import javax.security.auth.callback.TextOutputCallback; |
| | | |
| | | import org.forgerock.opendj.ldap.Filter; |
| | | import org.opends.server.tools.ClientException; |
| | | |
| | | import com.forgerock.opendj.cli.ClientException; |
| | | import com.forgerock.opendj.cli.ReturnCode; |
| | | |
| | | import org.opends.server.tools.RebuildIndex; |
| | | import org.opends.server.util.BuildVersion; |
| | | import org.opends.server.util.ChangeOperationType; |
| | |
| | | { |
| | | final LocalizableMessage msg = ERR_UPGRADE_PERFORMING_POST_TASKS_FAIL.get(); |
| | | context.notifyProgress(pnc.setProgress(-100)); |
| | | throw new ClientException(EXIT_CODE_ERROR, msg); |
| | | throw new ClientException(ReturnCode.ERROR_UNEXPECTED, msg); |
| | | } |
| | | } |
| | | else |
| | |
| | | logger.error(message); |
| | | if (!context.isIgnoreErrorsMode()) |
| | | { |
| | | throw new ClientException(EXIT_CODE_ERROR, message); |
| | | throw new ClientException(ReturnCode.ERROR_UNEXPECTED, message); |
| | | } |
| | | } |
| | | |