You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/06/16 22:41:05 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=15334856#comment-15334856 ] 

ASF GitHub Bot commented on BOOKKEEPER-908:
-------------------------------------------

Github user merlimat commented on the issue:

    https://github.com/apache/bookkeeper/pull/44
  
    👍 


> 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
>              Labels: patch
>             Fix For: 4.5.0
>
>   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)