sijie commented on a change in pull request #510: Issue-605 BP-15 New 
CreateLedger API
URL: https://github.com/apache/bookkeeper/pull/510#discussion_r142606861
 
 

 ##########
 File path: 
bookkeeper-server/src/main/java/org/apache/bookkeeper/client/BKException.java
 ##########
 @@ -20,20 +20,16 @@
  */
 package org.apache.bookkeeper.client;
 
-import java.lang.Exception;
+import org.apache.bookkeeper.client.api.BookKeeperException;
 
 /**
- * Class the enumerates all the possible error conditions
- *
+ * Class the enumerates all the possible error conditions.
  */
-
 @SuppressWarnings("serial")
-public abstract class BKException extends Exception {
-
-    private int code;
+public abstract class BKException extends BookKeeperException {
 
 Review comment:
   can you add comment -- this is going to be deprecated soon, and you are 
encouraged to use the new api class.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to