Translator Error Messages and Exit Codes

During the SQLJ translation phase, you can encounter four main types of SQLJ messages: errors, non-suppressable warnings, suppressable warnings, and information.

Error Messages

Messages in this category are the most critical and can't be avoided. Error messages are prefixed by Error: and indicate that one of the following has occurred:

  • A condition has occurred that will prevent compilation from being successful.

    An example is having a public class that doesn't match with its base filename.

    or

  • A condition has occurred that will almost certainly result in a runtime error (for example, an untrapped exception).

You have to take care of error messages before any output (.java or profiles) is generated.

Non-Suppressable ...

Get e-Commerce Applications Using Oracle8i and Java from Scratch now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.