I am getting 3 types of ComException in my Program
1. Error downloading the enclosure: HTTP/1.0 301 Moved Permanently
2. Error downloading the enclosure: HTTP/1.0 404 Not Found
3. Error downloading the enclosure: Socket Error # 11004
All of them have same ErrorCode = -2147418113
Can't I distinguish these errors? I don't like string comparing to distinguish.
Can anybody help me?
1. Error downloading the enclosure: HTTP/1.0 301 Moved Permanently
2. Error downloading the enclosure: HTTP/1.0 404 Not Found
3. Error downloading the enclosure: Socket Error # 11004
All of them have same ErrorCode = -2147418113
Can't I distinguish these errors? I don't like string comparing to distinguish.
Can anybody help me?