public class Watchdog2 extends Object
public void start(int secs) throws IllegalArgumentException
secs
- The number of seconds after which the watchdog will trigger. Valid values are 0 to switch off, or
between 10 and 300 to set watchdog time-out.IllegalArgumentException
- if:
kick()
public void kick() throws IllegalStateException
IllegalStateException
- if:
start(int)
Copyright (c) 1990, 2012, Oracle and/or its affiliates. All rights reserved.