T
Tony Johansson
Hi!
What does the text below actually means ?
It's especially in the Description section below that I don't really what
they are trying to say ?
So can somebody give me some explanation what they are trying to explain.
Perhaps with a trivial example.
Best Practice
Clean up intermediate results when throwing an exception
Description
Intermediate effects are created when the method being called throws an
exception. One good practice is to ensure that you keep the caller methods
secure from these effects. You can do this by disposing of objects
instantiated in the method and returning a valid message to the caller
method so that the caller method becomes aware of the error.
//Tony
What does the text below actually means ?
It's especially in the Description section below that I don't really what
they are trying to say ?
So can somebody give me some explanation what they are trying to explain.
Perhaps with a trivial example.
Best Practice
Clean up intermediate results when throwing an exception
Description
Intermediate effects are created when the method being called throws an
exception. One good practice is to ensure that you keep the caller methods
secure from these effects. You can do this by disposing of objects
instantiated in the method and returning a valid message to the caller
method so that the caller method becomes aware of the error.
//Tony