Archived
This forum has been archived. Please start a new discussion on GitHub.
Exception messages
Messages like
syscall: file not found
and
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
and
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.
bye
John
syscall: file not found
and
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
and
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.
bye
John
0