| | |
| | | import org.opends.messages.Message; |
| | | import org.opends.messages.MessageBuilder; |
| | | |
| | | import org.opends.quicksetup.ApplicationReturnCode; |
| | | import org.opends.quicksetup.ReturnCode; |
| | | import org.opends.quicksetup.BuildInformation; |
| | | import org.opends.quicksetup.UserInteraction; |
| | | import org.opends.quicksetup.ApplicationException; |
| | |
| | | } |
| | | } |
| | | throw new ApplicationException( |
| | | ApplicationReturnCode.ReturnCode.APPLICATION_ERROR, |
| | | ReturnCode.APPLICATION_ERROR, |
| | | INFO_UPGRADE_ORACLE_UNSUPPORTED.get( |
| | | currentBuildInfo.toString(), |
| | | newBuildInfo.toString()), |
| | |
| | | new Message[]{cont, cancel}, |
| | | defaultAction))) { |
| | | throw new ApplicationException( |
| | | ApplicationReturnCode.ReturnCode.CANCELLED, |
| | | ReturnCode.CANCELLED, |
| | | INFO_UPGRADE_CANCELED.get(), null); |
| | | } |
| | | } |
| | | } else { |
| | | throw new ApplicationException( |
| | | ApplicationReturnCode.ReturnCode.APPLICATION_ERROR, |
| | | ReturnCode.APPLICATION_ERROR, |
| | | INFO_ORACLE_NO_SILENT.get(), null); |
| | | } |
| | | } |