Posted by neha on July 16, 2001 at 23:02:53:
In Reply to: Re: can't create error posted by jojo on July 16, 2001 at 22:54:30:
what i think is this :when a process asks for a foo to be created, u will actually have to call the constructor of the foo class to see if it can be made...if it can't, the foo class will throw an error of type baz that u will need to catch...hope that helps :)
Neha
: : : Also did anyone answer the question about why
: : : PROCESS B--create 21 gave an error
: : : ?
: : : Can anyone tell me why we couldn't create such foo.
: : : Thanks again.
: : it's simply by stipulation that certain foos can't be created. Those stipulations are likely found in dvw's MAGIC.
: so how does our program know which ones they are?
: Like in my create_foo:
: (sorry if it sounds simple and stupid)
: but create_foo just stores or is supposed to store the given values into a map
: but I don't have anything that says
: if (given Dr.VW's magic bad foos)
: return FAILURE;
: else
: do what I just described above....
: you know? how does our program know what the bad foo is?
: Thanks!