HBASE-8757 ZK throws IllegalStateException

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1493984 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
jxiang 2013-06-18 02:02:16 +00:00
parent 62f513257e
commit 30984b7c83
1 changed files with 2 additions and 1 deletions

View File

@ -400,10 +400,11 @@ public class ZooKeeperWatcher implements Watcher, Abortable, Closeable {
break;
case ConnectedReadOnly:
case SaslAuthenticated:
break;
default:
throw new IllegalStateException("Received event is not valid.");
throw new IllegalStateException("Received event is not valid: " + event.getState());
}
}