Search:

Type: Posts; User: ebolisa

Search: Search took 0.09 seconds.

  1. Replies
    4
    Views
    10,318

    Re: Display a variable in exception catch

    I knew it was a simple fix :D
    Thank you!
  2. Replies
    4
    Views
    10,318

    Re: Display a variable in exception catch

    Sorry, did not explain myself well.

    When my PC has access to internet (pinging google), the System.out.println(test) prints "true".
    When there is no connection to internet, how do I get...
  3. Replies
    4
    Views
    10,318

    Display a variable in exception catch

    Hi,

    (new to java) I want to be notified when my box has no longer access to internet. The below test code works but it only returns a variable when I can ping a site, otherwise, it doesn't return...
Results 1 to 3 of 3