how to set a value to Exception.Message or this.Message
hi,
how to set the value to a exception object.
this.Message = "";
or
Exception.Message = "";
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
MartinPosted Dec 19, 2006, 11:06 AM
I'm pretty sure that the "exc.Message" is read only, and thus can't be assigned later.
Of course, you could just make your own exception...