5

Where/How could I get a list of all the java and javac's error and warning messages?

4
  • 3
    Write software, and make a list as you come across them :)
    – Dolph
    Feb 24, 2010 at 14:57
  • Watch me coding - after 2-3 days you have the complete list ;-) (and a dictionary of german swear words for free) Feb 24, 2010 at 15:10
  • @Dolph : That would take while :) @Andreas_D: could always use a list of german swear words :P
    – user280407
    Feb 24, 2010 at 15:25
  • 2
    My all-purpose German swear word: "fliegenkindscheiße!" (flying baby poo!"). It's a good phrase to know in any language.
    – Dolph
    Feb 24, 2010 at 15:39

5 Answers 5

6

This page is I think what you need.

5
  • 1
    @Saif : From a bit of googling I just did, this seems to be the only compilation of its sort. Feb 24, 2010 at 15:06
  • @Stephen : The page doesn't list the warning messages of javac. Feb 24, 2010 at 15:07
  • guess i'll be heading for the jdk source code sooner or later :(
    – user280407
    Feb 24, 2010 at 15:27
  • 1
    @Saif : Going thru Java Language Spec may help you. Feb 24, 2010 at 15:30
  • 1
    @Rahul G: Thanks! I just found the book on amazon, looks great :D
    – user280407
    Feb 24, 2010 at 16:52
1

mindprod.com has a Java Glossary with runtime and compile time lists:

http://mindprod.com/jgloss/errormessages.html

Hope that helps

0
1

This list of exceptions is much more interesting than any of the above answers.

It might not be as useful or as complete, but it's good reading nonetheless.

0
0

Do you mean Java Exception?

http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Exception.html

This is a list of every exception that Java will at run-time. If you are refering to syntax errors you maybe look at learning Java

1
  • That certainly covers a part of it, but what about the warning messages?
    – user280407
    Feb 24, 2010 at 14:55
0

You could look through the source code, since it's open source.

But more importantly - I can't think of a single reason why you'd want to do this. What's your real question here; what are you trying to achieve? It's almost certain you're going about it in a suboptimal fashion...

1
  • That would be the long way around. I am developing an Arabic translation to Java and would like to translate the errors and messages too.
    – user280407
    Feb 24, 2010 at 14:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.