ugergun / java-google-translate-text-to-speech

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

You have to be online for it to work #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. turning off wifi
2. leaving internet zone
3. running the program

What is the expected output? What do you see instead?
You would hear sound
Exception in thread "main" java.net.UnknownHostException: translate.google.com
    at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.<init>(Unknown Source)
    at sun.net.www.http.HttpClient.New(Unknown Source)
    at sun.net.www.http.HttpClient.New(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at com.gtranslate.Audio.getAudio(Audio.java:34)
What version of the product are you using? On what operating system?
the current version (I dont know)
Windows 7 64 bit
Please provide any additional information below.
That is it. I am requesting for there to be support for offline use

Original issue reported on code.google.com by jay911...@gmail.com on 5 Apr 2013 at 3:05