public boolean hasException() {
    return exception != null;
  }
Check if an exception has occurred when re-setting the watch.
@return True if we were unable to re-set a watch on a ZNode due to an exception.
hbase-zookeeper/src/main/java/org/apache/hadoop/hbase/zookeeper/DeletionListener.java