posted 21 years ago
No. You can either throw an exception, or return a value. You can't do both. If you need to transmit additional information along with the exception, you can create your own custom exception containing additional methods and fields for the extra data. But in most cases, it's enough just to know that an exception was thrown - that often tells you all you need to know.
"I'm not back." - Bill Harding, Twister