tohateam / google-api-translate-java

Automatically exported from code.google.com/p/google-api-translate-java
0 stars 0 forks source link

Improving error handling #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Currently many errors, eg. IOExceptions and MalformedURLExceptions are just
thrown from the translate method.

Many of these should throw simple errors that provide a facade - users
can't do anything if the format of Google Translate URLs change nor do they
need to know what line of our code the error occurred on.

A logging API is probably worth investigating as long as it doesn't add
dependencies.

Original issue reported on code.google.com by rich.mid...@gmail.com on 2 Dec 2007 at 1:59

GoogleCodeExporter commented 8 years ago
Exception handling updated.

Original comment by rich.mid...@gmail.com on 14 Dec 2007 at 8:57