Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5E_CLEAR2

Clears the specified error stack or the error stack for the current thread

Procedure:

H5E_CLEAR2(estack_id)

Signature:

herr_t H5Eclear2(hid_t estack_id)

SUBROUTINE h5eclear_f(hdferr) 
  IMPLICIT NONE 
  INTEGER, INTENT(OUT) :: hdferr  ! Error code 

END SUBROUTINE h5eclear_f

Parameters:
hid_t estack_id    IN: Error stack identifier

Description:

H5E_CLEAR2 clears the error stack specified by estack_id, or, if estack_id is set to H5E_DEFAULT, the error stack for the current thread.

estack_id is an error stack identifier, such as that returned by H5E_GET_CURRENT_STACK.

The current error stack is also cleared whenever an API function is called, with certain exceptions (for instance, H5E_PRINT1 or H5E_PRINT2).

Returns:

Returns a non-negative value if successful; otherwise returns a negative value.

Example:

Include Bitbucket Server for Confluence: An error occured

Connection to Bitbucket Server could not be established. Verify that you have properly configured the Bitbucket Server application link for your Confluence space and that your Bitbucket Server instance is up and running. Error details: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Fortran example coming soon!

History:
Release    Change
1.8.0Function introduced in this release.

--- Last Modified: January 08, 2020 | 02:11 PM