From: tonyg <tonythegair@gmail.com>
Subject: using a Get in AWS
Date: Sat, 27 Sep 2014 14:11:15 -0700 (PDT)
Date: 2014-09-27T14:11:15-07:00 [thread overview]
Message-ID: <bf65aa9e-cab8-4af0-a848-cdc27bcbbd59@googlegroups.com> (raw)
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;
next reply other threads:[~2014-09-27 21:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-27 21:11 tonyg [this message]
2014-09-28 9:33 ` using a Get in AWS Simon Wright
2014-09-28 11:08 ` tonyg
2014-09-28 16:49 ` Jeffrey Carter
2014-09-28 19:11 ` Pascal Obry
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox