From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.66.186.11 with SMTP id fg11mr1587374pac.45.1411852275155; Sat, 27 Sep 2014 14:11:15 -0700 (PDT) X-Received: by 10.140.34.208 with SMTP id l74mr242327qgl.1.1411852275069; Sat, 27 Sep 2014 14:11:15 -0700 (PDT) Path: buffer1.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!h15no8255410igd.0!news-out.google.com!i10ni41qaf.0!nntp.google.com!k15no131254qaq.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 27 Sep 2014 14:11:15 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=82.39.9.16; posting-account=28F2IwkAAACL1Z5nRC-dE7zuvWdbWC7P NNTP-Posting-Host: 82.39.9.16 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: using a Get in AWS From: tonyg Injection-Date: Sat, 27 Sep 2014 21:11:15 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: number.nntp.dca.giganews.com comp.lang.ada:189195 Date: 2014-09-27T14:11:15-07:00 List-Id: I get an error (according to the stack trace) at the begin statement, I cannot see why this should happen! I've listed the error then the code used to try it Execution terminated by unhandled exception Exception name: CONSTRAINT_ERROR Message: aws-url.adb:339 range check failed with AWS.Client; use AWS.Client; with AWS.Response; with Ada.Text_IO; procedure Main_Aws_Test is Test_Data : AWS.Response.Data := AWS.Client.Get (URL => "www.yahoo.com" ); Test_String : constant String := AWS.Response.Message_Body(Test_Data); begin Ada.Text_IO.Put_Line (Test_String); end Main_Aws_Test;