Skip to content

Commit 6acf4b2

Browse files
author
chengyitian
committed
AJ-991: throw exception when timeout <=0 for 'appendEventWithResponse' in EventSender;
1 parent ca132c4 commit 6acf4b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/com/xxdb/streaming/client/cep/EventSender.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public BasicDictionary appendEventWithResponse(String engine, String eventType,
5757
if (attributes == null)
5858
throw new IllegalArgumentException("attributes cannot be null.");
5959
if (timeout <= 0) {
60-
throw new IllegalArgumentException("The param 'timeout' cannot be less than or equal to 0, the default value of 5000 will be used.");
60+
throw new IllegalArgumentException("The param 'timeout' cannot be less than or equal to 0.");
6161
}
6262

6363
StringBuilder errMsg = new StringBuilder();

0 commit comments

Comments
 (0)