Home Comments

Exception messages

panicpanic Member
Messages like

syscall: file not found


WSAECONNECT could not connect

are extremely unhelpful. What I'd really like to be catching are things like

file not found: /home/panic/projects/magic/etc/config


WSAECONNECT could not connect to groovious:9997

or something like that.

Oh, and was it a deliberate decision to not inherit Ice::Exception from std::exception in the c++ binding? IMHO inheriting from std::exception is better because it allows one to have only 1 catch block unless one wants to catch a specific exception.

Sign In or Register to comment.