Search:

Type: Posts; User: JavaPF

Search: Search took 0.09 seconds.

  1. Replies
    6
    Views
    3,697

    Re: Exception handling

    Thats no problem. Glad I could help..

    Yeah there seems to be a problem with people marking threads as solved. I'm looking into it now.
  2. Replies
    6
    Views
    3,697

    Re: Exception handling

    Try putting this part of the code into a try catch block..



    System.out.println("Enter age: ");

    InputStreamReader isr = new InputStreamReader(System.in);
    BufferedReader br = new...
  3. Replies
    6
    Views
    3,697

    Re: Exception handling

    Hello AnithaBabu1.

    Welcome to the Java Programming Forums!

    Try this:



    class userException extends Exception
    {
Results 1 to 3 of 3