comp.lang.ada
 help / color / mirror / Atom feed
* using a Get in AWS
@ 2014-09-27 21:11 tonyg
  2014-09-28  9:33 ` Simon Wright
  0 siblings, 1 reply; 5+ messages in thread
From: tonyg @ 2014-09-27 21:11 UTC (permalink / 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;


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-09-28 19:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-27 21:11 using a Get in AWS tonyg
2014-09-28  9:33 ` Simon Wright
2014-09-28 11:08   ` tonyg
2014-09-28 16:49     ` Jeffrey Carter
2014-09-28 19:11     ` Pascal Obry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox