+ newPrettyName + "/" + newMinor );
ret = newPrettyName;
}
} else {
throw new DotDataException( "Unknown return code: " + method.getStatusCode() + " (" + method.getStatusText() + ")" );
}
}
} catch ( HttpException e ) {
Logger.error( UpdateUtil.class, "HttpException: " + e.getMessage(),
e );
throw new DotDataException( "HttpException: " + e.getMessage(), e );
} catch ( IOException e ) {
Logger.error( UpdateUtil.class, "IOException: " + e.getMessage(), e );
throw new DotDataException( "IOException: " + e.getMessage(), e );
}
return ret;
}