comp.lang.ada
 help / color / mirror / Atom feed
From: "Nick Roberts" <nickroberts@callnetuk.com>
Subject: Re: Problem Deleting files & the USE_ERROR exception & WHY
Date: Sun, 21 Jan 2001 18:15:04 -0000
Date: 2001-01-21T18:15:04+00:00	[thread overview]
Message-ID: <94f9qg$dc4s7$2@ID-25716.news.dfncis.de> (raw)
In-Reply-To: ORDa6.8829$vH6.140011@news6-win.server.ntlworld.com

Rich,

Use_Error is a bit of a catch-all exception, raised whenever you try to do
something with a file that goes wrong for any of a hundred possible reasons.

Something may be making it illegal for you to delete the (external) file,
such as you do not have permission to delete it, it is being held open by
another program, or it is fundamentally undeletable (e.g. a device).

Alternatively it may simply be that your Ada implementation is not actually
able to delete files, or that your Ada implementation gets confused if you
try to do things to the same (internal) file with different tasks. These
kinds of limitations should be documented in your Ada's documentation.

Try to check out these possibilities. If you are still baffled, tell us all
the circumstances of your problem, including which Ada compiler and its
version, which operating system and its version, what kind of file and
details about the file. Include the relevant parts of your Ada code (but not
too much). Also tell us what you are basically trying to do with your
program.

Best of luck,

--
Nick Roberts
http://www.AdaOS.org






  parent reply	other threads:[~2001-01-21 18:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-21 16:04 Problem Deleting files & the USE_ERROR exception & WHY squeaker
2001-01-21 17:00 ` Robert Dewar
2001-01-21 18:15 ` Nick Roberts [this message]
2001-01-21 18:55   ` Robert Dewar
replies disabled

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