comp.lang.ada
 help / color / mirror / Atom feed
From: Paul Storm <paul.a.storm@lmco.com>
Subject: Newbie with a question
Date: Fri, 27 Apr 2001 14:46:04 -0700
Date: 2001-04-27T14:46:04-07:00	[thread overview]
Message-ID: <3AE9E89C.5B6909E1@lmco.com> (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?



             reply	other threads:[~2001-04-27 21:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-27 21:46 Paul Storm [this message]
2001-04-28  3:56 ` Newbie with a question Peter Richtmyer
2001-04-28 18:10 ` Jeffrey Carter
replies disabled

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