| | |
| | | import static org.opends.messages.QuickSetupMessages.*; |
| | | |
| | | import org.opends.quicksetup.ApplicationException; |
| | | import org.opends.quicksetup.ApplicationReturnCode; |
| | | import org.opends.quicksetup.ReturnCode; |
| | | import org.opends.quicksetup.Installation; |
| | | import org.opends.quicksetup.UserInteraction; |
| | | import org.opends.quicksetup.Constants; |
| | |
| | | Message msg = INFO_ERROR_APPLYING_CUSTOM_CONFIG.get(); |
| | | LOG.log(Level.INFO, msg.toString(), e); |
| | | throw new ApplicationException( |
| | | ApplicationReturnCode.ReturnCode.IMPORT_ERROR, msg, e); |
| | | ReturnCode.IMPORT_ERROR, msg, e); |
| | | } |
| | | } |
| | | |
| | |
| | | Message msg = INFO_ERROR_APPLYING_CUSTOM_SCHEMA.get(); |
| | | LOG.log(Level.INFO, msg.toString(), e); |
| | | throw new ApplicationException( |
| | | ApplicationReturnCode.ReturnCode.IMPORT_ERROR, msg, e); |
| | | ReturnCode.IMPORT_ERROR, msg, e); |
| | | } |
| | | } |
| | | |
| | |
| | | // do nothing; will retry; |
| | | } else { |
| | | throw new ApplicationException( |
| | | ApplicationReturnCode.ReturnCode.CANCELLED, |
| | | ReturnCode.CANCELLED, |
| | | INFO_UPGRADE_CANCELED.get(), e); |
| | | } |
| | | } else { |
| | |
| | | int ret = oo.getReturnCode(); |
| | | if (ret != 0) { |
| | | throw new ApplicationException( |
| | | ApplicationReturnCode.ReturnCode.TOOL_ERROR, |
| | | ReturnCode.TOOL_ERROR, |
| | | INFO_ERROR_LDIF_DIFF_TOOL_RETURN_CODE.get(Integer.toString(ret)), |
| | | null); |
| | | } |