Home > Contents > Index >
Expanded TOC | Accordion TOC | Annotated TOC | Index
ICS.GetErrno
Gets the current error code as an integer.
Syntax
public int GetErrno()Returns
Current
errno
. Numbers less than 0 are errors.Example
The following example calls a method (in this case,
ics.CallSQL
), then usesGetErrno
to determine if the method reported an error.
ics.ClearErrno(); results = ics.CallSQL("test2", null, -1, false, errStr); int errNum = ics.GetErrno
;See Also
Home > Contents > Index > ![]()
Oracle JAVA Reference
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.