Search:

Type: Posts; User: JavaPF

Search: Search took 0.08 seconds.

  1. Thread: try/catch

    by JavaPF
    Replies
    5
    Views
    2,721

    Re: try/catch

    Yeah Json is right.

    When you call myMethod in catch, make sure it does something to stop it from throwing the same exception again.
  2. Thread: try/catch

    by JavaPF
    Replies
    5
    Views
    2,721

    Re: try/catch

    Hello rsala004.

    Say you have a method called myMethod with a try/catch block in it. The exception is caught in the catch part so in catch you just need to call the method again.

    Example:


    ...
Results 1 to 2 of 2