Quiz software, teaching tools, exam revision aids, learning games, courseware authoring
Java Menus
Java menu homeJava downloadBuy a java menuJava menu help centreContact us
Java menus » Java menu knowledge base

 SEARCH

 MENUS BY TYPE

 Drop-down menus

 Animated buttons

 Tree menus

 Sliding menus

 Tab menus

 Image maps

 MENUS BY NAME

 X-Bar menus

 iPOP menus

 iSlide menus

 iTree menus

 iTab menus

 iMMap menus

 Sensomap menus

 Magic menus

 MENU DESIGN

 Menu design

 Drop-down menus

 Web buttons

 Tree menus

 Sliding menus

 Menu tabs

 Image maps

 SITE LINKS

 Home

 Java downloads

 Prices / Buying

 Support

 Company

 Contact

 New menus

 Free menus

 PARTNER SITES

 Alien Menus

 Happy Menus
Java menu knowledge base
Error and warning codes
Return to knowledge base directory

 
The applets return a code which catches a large number of possible mistakes which may be made when setting up the applet. These codes are divided between "error" (fatal) and "warning" (non-fatal) codes. During development (i.e. when no escape page is set), both errors and warnings are reported. After release (i.e. with an escape page set), the applet tries to compensate if a warning is encountered, and only activates the escape page if a fatal error is encountered. Note that if you set an escape page during development, no codes will be produced and you will be left puzzling at why the behaviour is not as expected!
 
Not all of these codes are common to all the applets. For example, applets without image options will not produce warning codes 20 to 27.
 
Errors typically occur through incorrect formatting or naming of the text and graphics source files. The error codes are designed to make it easier for you to track down your mistakes - for example, many mistakes in the menu source file are identified together with a line number to help you locate the problem (remember that the first line is line 0).
 
Errors
 
0. General initialisation error
1. Reading of images interrupted (network error?)
2. Licence / location check failed
3. Invalid name for index file (parameter incorrect)
4. Couldn't access index file (e.g. security breach/wrong name)
5. Couldn't read index file (network error?)
6. Fatal internal error processing the menu information
7. Fatal internal error processing the images
8. Fatal internal error creating the menu
9. Copyright parameter incorrect
 
Warnings
 
Index formating
 
10. Hierarchy marker error.
11. Stylesheet marker error.
13. Formatting/length error in a menu entry line (check inverted commas).
 
Image loading
 
20. Background image file failed to load (if specified)
21. Frame image file failed to load (if specified)
22. Buttons/symbols image file failed to load (if specified)
23. Scroll image file failed to load (if specified)
24. Overlay image file failed to load (if specified)
25. Image file for symbols/buttons smaller than required by parameters
26. Image file for scrolls smaller than required by parameters
27. Failed to create all button/symbol images (check button/symbol file)
 
java menu