Method to reset the error and warning counters. The method takes one parameter as input an integer indicating which counter ...

Method to reset the error and warning counters. The method takes one parameter as input an integer indicating which counter to reset. For this input parameter, 0 indicates all, 1 indicates a reset of the indeterminate error counter, 2 the critical error counter, 3 the major error counter, 4 the minor error counter and 5 the warning counter. The method returns 0 if successful, 1 if not supported, and any other value if an error occurred. A method is specified so that the logical device's instrumentation, which tabulates the errors and warnings, can also reset its internal processing and counters.
In a subclass, the set of possible return codes could be specified, using a ValueMap qualifier on the method. The strings to which the ValueMap contents are 'translated' may also be specified in the subclass as a Values array qualifier.