Search:

Type: Posts; User: whity

Search: Search took 0.20 seconds.

  1. Replies
    3
    Views
    596

    [SOLVED] Re: Should I use an exception here?

    Thanks, copeg. I think I get it!
    It isn't an error to not find a result, but I hadn't thought to just return null.

    And thanks for the welcome, JavaPF
  2. Replies
    3
    Views
    596

    [SOLVED] Should I use an exception here?

    Firstly, hi! First time posting here [if this is the wrong area sorry!].

    Basically I'm searching through an array of objects and comparing strings. If there's a match (there can only be a single...
Results 1 to 2 of 2