You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Rakesh R (JIRA)" <ji...@apache.org> on 2016/03/30 14:08:25 UTC

[jira] [Commented] (BOOKKEEPER-908) Case to handle BKLedgerExistException

    [ https://issues.apache.org/jira/browse/BOOKKEEPER-908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15217863#comment-15217863 ] 

Rakesh R commented on BOOKKEEPER-908:
-------------------------------------

Thanks [~jujjuri] for reporting this. Could you please tell me the background of this issue and update the description to understand more about the problem.

> Case to handle BKLedgerExistException
> -------------------------------------
>
>                 Key: BOOKKEEPER-908
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-908
>             Project: Bookkeeper
>          Issue Type: Bug
>          Components: bookkeeper-client
>    Affects Versions: 4.3.2
>            Reporter: Venkateswararao Jujjuri (JV)
>            Assignee: Venkateswararao Jujjuri (JV)
>            Priority: Minor
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> --- a/bookkeeper-server/src/main/java/org/apache/bookkeeper/client/BKException.java
> +++ b/bookkeeper-server/src/main/java/org/apache/bookkeeper/client/BKException.java
> @@ -100,6 +102,8 @@ public abstract class BKException extends Exception {
>              return new BKDuplicateEntryIdException();
>          case Code.TimeoutException:
>              return new BKTimeoutException();
> +        case Code.LedgerExistException:
> +            return new BKLedgerExistException();
>          default:
>              return new BKUnexpectedConditionException();
>          }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)