1

I use sts-3.5.0.M1 for developing and I encounter that eclipse doesn't report any error or warning for uncaught exception, how can I force eclipse to do this job?

My question is the same as How to make Eclipse with to report error when declared exception is not caught? but it doesn't help me?

Thanks

Community
  • 1
  • 1
AKZ
  • 856
  • 2
  • 12
  • 30
  • What exception is it not reporting? – greg-449 Feb 24 '14 at 15:59
  • You can see the complete question in above URL. – AKZ Feb 24 '14 at 16:06
  • `IllegalArgumentException` is an [unchecked exception](https://stackoverflow.com/questions/6115896/java-checked-vs-unchecked-exception-explanation) which doesn't have to be caught and Eclipse won't warn about. – greg-449 Feb 24 '14 at 16:14
  • Thanks a lot, I wonder that is it possible to put this exception to checked exception and Eclipse warn about it. – AKZ Feb 24 '14 at 16:25
  • 1
    No this can't be changed. If this is your code create an exception derived from `Exception` - this will be checked. – greg-449 Feb 24 '14 at 16:27

0 Answers0