Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-358

Throw exception when ledger does not exist

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1.1
    • 3.2.0
    • contrib-bookkeeper
    • None
    • Reviewed

    Description

      Currently, openLedger() in the BookKeeper client returns null if the ledger ID does not exist on ZK. Maybe it would be better to throw a specific exception so it can be handled by the client side.

      Attachments

        1. ZOOKEEPER-358.patch
          3 kB
          Flavio Paiva Junqueira
        2. ZOOKEEPER-358.patch
          2 kB
          Flavio Paiva Junqueira

        Activity

          People

            fpj Flavio Paiva Junqueira
            lucat Luca Telloli
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: