Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetMessages Returns Misleading Exception #182

Open
Yossi-G opened this issue Apr 22, 2015 · 1 comment
Open

GetMessages Returns Misleading Exception #182

Yossi-G opened this issue Apr 22, 2015 · 1 comment

Comments

@Yossi-G
Copy link

Yossi-G commented Apr 22, 2015

We've been testing and we stumbled across the fact that GetMessages returns a misleading exception description in certain circumstances. What we have found - If you request more messages than currently exist in the mailbox, the following message is returned:

Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

The specificity of the message thus leads the developer's diagnostic in the wrong direction. It would be better if the error message would indicate 'bad parameter value' or 'parameter value out of range' or something like that.

I'm relatively new to OS, so I'm not sure what the protocol is in cases like this. Should I obtain the code and make the proposed change?

Thanks for your advice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@Yossi-G and others