Hi
i have a list of exception codes like:
"1001" : "CCT Error"
"1002" : "CRM Error"
"1003" : "File Access error"
"1004" : "Other Error"
this is stored in a hash table with code as key and exception info as value. i want to pass the code as a parameter to a method. buti want that when i should pass it like
LogExcep(param1, param2, Code.1001)
instead of
LogExcep(param1, param2, "1001")
i dont want the hard coded string.
and some summary should be displayed on mouse-over (like visual studio shows for inbuilt methods) when a third person wants to know what 1001 code means.
how do i do that???
help please.
thanks.
i have a list of exception codes like:
"1001" : "CCT Error"
"1002" : "CRM Error"
"1003" : "File Access error"
"1004" : "Other Error"
this is stored in a hash table with code as key and exception info as value. i want to pass the code as a parameter to a method. buti want that when i should pass it like
LogExcep(param1, param2, Code.1001)
instead of
LogExcep(param1, param2, "1001")
i dont want the hard coded string.
and some summary should be displayed on mouse-over (like visual studio shows for inbuilt methods) when a third person wants to know what 1001 code means.
how do i do that???

help please.
thanks.