public void reset(Signal s) throws NullPointerException {
public void reset(Signal s) throws Exception, NullPointerException {
    public void reset(Signal s) throws NullPointerException {        if (s != null) {                        s.reset();        } else {            throw new NullPointerException("Could not reset signal. The signal is null.");        }    }