comp.lang.ada
 help / color / mirror / Atom feed
* Newbie with a question
@ 2001-04-27 21:46 Paul Storm
  2001-04-28  3:56 ` Peter Richtmyer
  2001-04-28 18:10 ` Jeffrey Carter
  0 siblings, 2 replies; 3+ messages in thread
From: Paul Storm @ 2001-04-27 21:46 UTC (permalink / raw)


I am fairly new to Ada.  I am working on a program and have created the
following excerpt. <begin code>

if ( Type_Is_Buffer and not Buffer_Found ) then

  Log_Error
          (
           Source            => Source,
           Message           => "Put message here about missing buffer
size" ,
           Verbosity         => Default_Verbosity
          ) ;

  raise Data_Point_Buffer_Size_Needed_Error ;

end if;

<end code>

If this section of code runs the exception is raised and execution
abends.
But the message is not put into the log.  Which should be done by the
Log_Error call.

The Log_Error procedure is legacy code and works fine elsewhere in the
program.

Anyone have suggestions as to why this would be the case?



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

end of thread, other threads:[~2001-04-28 18:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-27 21:46 Newbie with a question Paul Storm
2001-04-28  3:56 ` Peter Richtmyer
2001-04-28 18:10 ` Jeffrey Carter

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