Skip to content

Commit ca3ec06

Browse files
committed
fixup! Client: throw NutException.ServerNotConnected when !isConnected() in query(), list() and get() methods
1 parent 1df1f60 commit ca3ec06

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

jNut/src/main/java/org/networkupstools/jnut/Client.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,8 @@ public boolean isTrackingEnabled() {
176176
}
177177

178178
/**
179-
* Set the tracking activation status.
179+
* Set the tracking activation status; requires that
180+
* the client connection is already active.
180181
* @param tracking New tracking activation status.
181182
* @throws IOException
182183
* @throws NutException

0 commit comments

Comments
 (0)