dev1303 / gtalksms

Automatically exported from code.google.com/p/gtalksms
0 stars 0 forks source link

Better exception handling in case of syntax errors #96

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
command: "sms:Contactname:"

What is the expected output?
Syntax Error

What do you see instead?
Error: java.lang.IllegalArgumentException: Invalid message body

What version of the product are you using?
Sources

Original issue reported on code.google.com by ThDietri...@gmail.com on 10 Feb 2011 at 7:15

GoogleCodeExporter commented 8 years ago
We could throw an invalid syntax exception instead, which contains a 
description for the syntax and send this string(s) back instead of the plain 
exception string.

Original comment by fschm...@gmail.com on 10 Feb 2011 at 7:41

GoogleCodeExporter commented 8 years ago

Original comment by fschm...@gmail.com on 10 Feb 2011 at 9:42

GoogleCodeExporter commented 8 years ago

Original comment by fschm...@gmail.com on 10 Feb 2011 at 9:42

GoogleCodeExporter commented 8 years ago

Original comment by Florent....@gmail.com on 12 Feb 2011 at 3:59

GoogleCodeExporter commented 8 years ago

Original comment by Florent....@gmail.com on 12 Feb 2011 at 4:18

GoogleCodeExporter commented 8 years ago
Fixed in v1.9.1

Original comment by Florent....@gmail.com on 13 Feb 2011 at 12:48

GoogleCodeExporter commented 8 years ago

Original comment by fschm...@gmail.com on 25 Aug 2011 at 7:50