I can't seem to catch this exception, Eclipse tells me that it "cannot be resolved to a type". I know this exception means that I'm trying to INSERT a duplicate key value, and I want to catch it and let the user know.
Is there an import or a jar that I'm missing?
Thanks :)