Appendix A : Error Codes


This appendix describes the standard error codes and what causes them in data, graphics, and process interface functions.

(*) - Errors that are reported to the user via dialog window in VDecodeError.


	
ERROR CODE	ERRORS	

COMMON ERRORS

0		No error.

1	(*)	MEMORY ALLOCATION ERROR.

2	(*)	READ ERROR.

3	(*)	WRITE ERROR.

4	(*)	FILE OPEN ERROR.

5	(*)	FILE SEEK FAILURE.

6		Invalid window ID.

7		3DVIEWNIX directory pathname not given in 
		environment variable.

8		User defined tape path name is not available in 
		the current 3DVIEWNIX.

DATA INTERFACE ERRORS

100	(*)	INCORRECT 3DVIEWNIX FILE FORMAT.

101	(*)	TAPE DRIVE IS NOT ONLINE.

102	(*)	INVALID DATA SET TYPE.

103	(*)	CANNOT OPEN SPECIFICATION FILE.

104	(*)	INVALID VALUE IN THE FILE HEADER FOR TYPE 1.

105		Invalid recognition code.

106		Invalid value in the file header for Type 1D.

107		Invalid value in the file header for Type 2,2D,3.

GRAPHICS INTERFACE ERROR

200		Cannot open X server.

201		Server is already open.

202		Window is already open.

203		Cannot open 3DVIEWNIX_RUN file while no one is 
		running 3DVIEWNIX in current directory.

204		Invalid event type.

205		Event happens in invalid window.

206		Cursor is not within the command area.

207		FOREGROUND/BACKGROUND command is not displayed in
		the mouse window.

208		SAVE SCRN: APPEND/OVERWRITE command is not 
		displayed in the mouse window.

209		Invalid frame number of image created by the 
		"SAVE SCREEN" command.

210		"OUTPUT FILE" prompt is not displayed in the 
			mouse window.

211		DIALOG WINDOW: ON/OFF command is not displayed 
		in the button window.

212		Button action message is more than 3 lines.

213		Vertical menu is not displayed in the menu area.

214		Dialog window is not displayed at the front of the
		image window.

215		Cannot display panel when scale is on in the panel
		area.

216		Panel is not displayed in the dialog window.

217		Cannot display scale in panel area when panel is on.

218		Scale is not displayed in the dialog window.

219		Valid visual class is not available on this screen.

220		Truecolor option is already on.

221		Depth of the bitmap of the graphics device is less
		than 8.

222	(*)	TRYING TO DISPLAY TRUECOLOR IMAGE IN GRAYSCALE 
		VISUAL CLASS.

223		Message displayed in the image window is covered by
		the dialog window.

224		Message displayed is out of the window boundary.

225		No overlay created.

226		Cannot get event from image window.

227		Cannot get event from dialog window.

228		Cannot get event from mouse window.

229		Trying to turn truecolor option on for GrayScale 
		visual class.

230		Trying to display truecolor option image for 
		PseudoColor or DirectColor visual class and truecolor
		option is not on.

231		Trying to update colormap when truecolor option is on.

232		Invalid colorcell.

233		For DirectColor	visual class, depth of bitmap is less
		than 24.

234		Foreground color is the same as the background 
		color.

235	(*)	MAXIMUM OF ARRAY SIZE IS EXCEEDED.

236		Truecolor option is not on.

237		Overlay is not on.

238		Cannot get enough memory for image.

239	(*)	THE NUMBER OF SUBWINDOWS UNDER THE IMAGE WINDOW 
		EXCEEDS THE MAXIMUM ALLOWED.

240		Image displayed is not within the window boundary. 

241		No subwindow created under the image window.

242		Panel is out of the dialog window boundary.

243		Scale is out of the dialog window boundary.

244		Scale does not exist.

245		The number of scales exceeds the maximum allowed.

246		Scale width is greater than the available width 
	 	of the dialog window.

247	(*)	SCALE WIDTH IS TOO SMALL.

248		Panel is already displayed in the dialog window.

249		Scale is already displayed in the dialog window.

250		Visual class is already set.

251		Horizontal menu is not displayed in the image 
		window.

252		Colormap is already created.

253		Invalid panel command type.

254		Panel command has been truncated.

255		The specified panel command cannot be found.

256		Cannot create pixmap.

257		To be assigned.

258		Pixmap of dialog window is NULL and image window 
		is at the front.

259		Cannot remove or update scale when scale is on.

260		No need to call VDisplayMenu.

261		Invalid window type in VSelectCursor.

262		Invalid cursor type in VSelectCursor.

263		User selected font was not suitable.

264		System selected font was not suitable.

265		Invalid caret.

266		Invalid Text/Button item ID.

267		Invalid Text/Button item index.

268		Inconsistent Text/Button item list.

269		No Text/Button item found.

270		Invalid Text/Button item list index.

271		Text/Button item list is empty.

272		Invalid event for the button press.	

273		Image window cannot be created.	

274		Dialog/Button window cannot be created.	

275		Static buttons are not displayed in the 
		button window.

276		Bad curve data : there are points that are
		repeated.

277		No point is selected.

278		Invalid status number.

279		Dialog window message area was used by a library
		function.

280		Margin click point was not created.

281		Could not create box or bottom.

282		Scrollbar click point was not created.

283		Could not draw the text in the area specified.

284		Help mode is on.

285		Information mode is on.

286		Annotation mode is on.

287		Dialog window is already mapped.

288		Mouse window is already mapped.

289		Dialog window is already unmapped.

290		Mouse window is already unmapped.

PROCESS INTERFACE ERRORS

400	(*)	COULD NOT EXECUTE THE PROCESS.

401	(*)	THE PROCESS WAS ABORTED.