Previous     Contents     Index     Next     
iPlanet Application Server 6.5 Java Foundation Class Reference



Appendix A   Return Codes


Many methods in the iPlanet Application Server Foundation Class Library return error codes. These generic error codes are defined as static values in the GXE class. When testing for a returned error code, prefix the error code with the class name, as shown in the following example:

if (hr==GXE.SUCCESS)

The following table lists the error codes defined in the GXE class:




Error code

Value

SUCCESS  

0x80240000  

ERROR  

0x80240001  

INVALID_ARG  

0x80240002  

INVALID_INTERFACE  

0x80240003  

NOT_SUPPORTED  

0x80240004  

EOF  

0x80240005  

READ_FAILED  

0x80240006  

WRITE_FAILED  

0x80240007  

ALLOC_FAILED  

0x80240008  

INVALID_NAME  

0x80240009  

INVALID_EXPR  

0x8024000a  

INVALID_INDEX  

0x8024000b  

TOO_SMALL  

0x8024000c  

FAIL  

0x8024000d  

NOINTERFACE  

0x8024000e  

MEM_ALLOC_FAILED  

0x8024000f  


Previous     Contents     Index     Next     
Copyright © 2002 Sun Microsystems, Inc. All rights reserved.

Last Updated March 10, 2002