J
Jonathan Scott via AccessMonster.com
In a certain function, I am trying to process data I expect to be a date.
But, as with all things, I have to prepare for the worst: the String given
to me does not translate into a date.
What is the natural progression? Raise an error/exception! But wait, I can
pass an error to myself, but I cannot tell my caller that I have received
invalid data, through an error/exception?!
Please tell me I am wrong. "Err.raise" is not a pseudonym for "goto", right?
How can I tell my caller that he/she has given me invalid data to process?
Jonathan Scott
But, as with all things, I have to prepare for the worst: the String given
to me does not translate into a date.
What is the natural progression? Raise an error/exception! But wait, I can
pass an error to myself, but I cannot tell my caller that I have received
invalid data, through an error/exception?!
Please tell me I am wrong. "Err.raise" is not a pseudonym for "goto", right?
How can I tell my caller that he/she has given me invalid data to process?
Jonathan Scott