vikasskool / google-api-translate-java

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

problem in execution #134

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. after compilation it shows these two notes:
note: GoogleTranslator.java uses or overrides a deprecated API.
note: Recompile with -Xlint:deprecation for details.
2.
3.

What is the expected output? What do you see instead?java.lang.Exception: 
[google-api-translate-java] Referrer is not set. Call setHt
tpReferrer().
        at com.google.api.GoogleAPI.validateReferrer(GoogleAPI.java:59)
        at com.google.api.translate.Translate.execute(Translate.java:63)
        at com.google.api.translate.Translate.translate(Translate.java:192)
        at GoogleTranslator.main(GoogleTranslator.java:10)

What version of the product are you using? On what operating system?
java 1.6.0_21on windows vista

Please provide any additional information below.

Original issue reported on code.google.com by mailanil...@gmail.com on 27 Mar 2011 at 3:53

GoogleCodeExporter commented 9 years ago

Original comment by rich.mid...@gmail.com on 5 Nov 2011 at 5:28