You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongo...@googlegroups.com
I saw examples using both exceptions, but in terms of catching all possible mongo database related errors, which one is it better, DBException or SocketException?
Thank you in advance.
Eric Milkie
unread,
Nov 8, 2012, 4:11:16 PM11/8/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongo...@googlegroups.com
SocketException is a subclass of DBException (see sock.h), so to catch all exceptions just use DBException.