Home > Contents > Index >
Expanded TOC | Accordion TOC | Annotated TOC | Index
ICS.ClearErrno
Clears the current error state.
Syntax
public void ClearErrno()Description
The
ClearErrno
method clears the current error state, setting the value of error state to 0. You should call this method immediately before invoking a method that may alter theerrno
.Note that the error state is more than just the value of the variable
errno
, soClearErrno
should be used to properly reset the error state. UsingSetVar("errno",0)
is discouraged, since it does not completely reset the error state.Example
The following code clears the value of
errno
prior to issuing a new call:
ics.ClearErrno(); ics.CatalogManager(inList); String errno = ics.GetErrno();See Also
Home > Contents > Index > Oracle JAVA Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.