Scalable Database Server, HiRDB Version 8 UAP Development Guide

[Contents][Index][Back][Next]

17.7.33 setNotErrorOccurred

(a) Function

Sets whether or not the calling of ConnectionEventListener.connectionErrorOccurred is to be suppressed.

(b) Format
 
public void setNotErrorOccurred ( boolean mode )
 
(c) Arguments

boolean mode
Specifies whether or not occurrences of connectionErrorOccurred are to be suppressed:
true: Suppress the calling of connectionErrorOccurred.
false: Do not suppress the calling of connectionErrorOccurred (default).
(d) Return value

None.

(e) Functional detail

Specifies the setting for suppressing the calling of ConnectionEventListener.connectionErrorOccurred, which is called when an error occurs while ConnectionPoolDataSource or XADataSource is being used.

If this method is not set, connectionErrorOccurred is called. Normally, do not set this method or set false.

(f) Exceptions

None.