Re: remove FAILURE?


[ Follow Ups ] [ Post Followup ] [ CS328 Message Board ] [ FAQ ]

Posted by Aaron on July 15, 2001 at 22:39:47:

In Reply to: remove FAILURE? posted by Natalie Rooney on July 15, 2001 at 21:27:03:

: Hi,

: Under what conditions are we supposed to return a failure from the remove methods? Should we give a failure message if a process tries to remove something they don't have a ref to?

: Should the remove_all function always return success?

: Thanks,
: Natalie
say you try to remove a foo you haven't created, i.e. deleting without creation... then you return failure. as far as remove_all, I am pretty much just always returning success. although I have no confirmation from dvw on the validity of this, it seems that this is how his test cases work.

aaron


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS328 Message Board ] [ FAQ ]