Compiler Warning J5500

#warning 'user defined warning'

This warning message is generated when there is a #warning conditional compilation directive in the program.

The following example illustrates this error:

#define DEBUG
public class Simple{
   public void method1(){
      #if DEBUG
         #warning You are compiling for debug mode
         //warning: displayed when 'DEBUG' is defined
      #endif
   }
}