Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what is this UnknownHostException(mssql server 2008r2)

 
sam liya
Ranch Hand
Posts: 1240
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am try to get data from my service.this is my main class



below is exception i am getting

 
Steve Luke
Bartender
Posts: 4181
21
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The API tells you when it occurs: http://docs.oracle.com/javase/7/docs/api/java/net/UnknownHostException.html
 
sam liya
Ranch Hand
Posts: 1240
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am testing using my android phone. I test with emulator.Now its fine.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic