| | |
| | | || (response.toLowerCase().equals(no.toLowerCase())) |
| | | || (response.length() == 0)) |
| | | { |
| | | System.exit(ReturnCode.CANCELLED.getReturnCode()); |
| | | System.exit(ReturnCode.CANCELED.getReturnCode()); |
| | | } |
| | | else if (response.toLowerCase().equals(yes.toLowerCase())) |
| | | { |
| | |
| | | |
| | | // We don't consider a user cancelation exception |
| | | // to be an error. |
| | | if (ae.getType() != ReturnCode.CANCELLED) { |
| | | if (ae.getType() != ReturnCode.CANCELED) { |
| | | this.runError = ae; |
| | | } else { |
| | | this.abort = true; |
| | |
| | | */ |
| | | public void checkAbort() throws ApplicationException { |
| | | if (abort) throw new ApplicationException( |
| | | ReturnCode.CANCELLED, |
| | | ReturnCode.CANCELED, |
| | | INFO_UPGRADE_CANCELED.get(), null); |
| | | } |
| | | |