Re: Is it Ok to adopt?
- From: "Brad White" <bwhite at inebraska.com>
- Date: Tue, 28 Feb 2006 11:49:54 -0600
"Jason Chapman" <jason@xxxxxxxxxxxxxxxx> wrote in message
news:44046078$1@xxxxxxxxxxxxxxxxxxxxxxxxx
I've been using it for a year or so and it seems fine. I do have a small
problem at the moment that my app is running out of resources, which is
raised as an exception, which then it trapped by the exception handler,
which fails to create properly due to not enough available resource. I
think this is the problem.
Interesting.
Looking around in madExcept earlier, I noticed that he preempted this
problem by creating relevent exceptions he might need ahead of time.
Then if he gets an "out of <some resource>" message, he just raises the
exception.
--
Thanks,
Brad.
.
Relevant Pages
- Re: Try Finally...
... Now we can protect every more or less specialized action ... an error indication (exception or error code) has to be ... an according exception handler can be inserted into the code. ... resources, as they are related to specific actions. ... (comp.lang.pascal.delphi.misc) - got exceptions when I run "sql best Practice" tool.
... Cleaning up resources used by rule:Microsoft.SqlBpa.Rules.BpAllowUpdateEnabled.BPAllowUpdate ... Exception rethrown at: ... at Microsoft.BPA.Server.JobCoordinatorComponent.JobRunner.executeJob(NameValueCollection bpInputParams, BPASQLServerInfo sqlServer) ... (microsoft.public.sqlserver.tools) - Re: is such exception handling approach good?
... Suppose I have some objects created on local function stack. ... exception handling code in the function for resource free purpose, ... rely on destructor to free resources if exception occurs, that is, ... (microsoft.public.vc.language) - Re: Pythons "only one way to do it" philosophy isnt good?
... deallocate all of its resources before raising the exception, ... you may want access to these resources for debugging, ... I don't have that much foresight and don't want to have ... in those few cases in which a function has caught an exception ... (comp.lang.python) - Re: Using vs. Try Catch
... A Using block behaves like a Try...Finally construction in which the Try block uses the resources and the Finally block disposes of them. ... If you need to handle an exception that might occur within the Using block, you can add a complete Try...Finally construction to it. ... The MSDN Managed Newsgroup support offering is for non-urgent issues where an initial response from the community or a Microsoft Support Engineer within 1 business day is acceptable. ... (microsoft.public.dotnet.languages.vb) |
|