blob: d4c143d4df0d66ef589d8b072e615c6205575f19 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>BKException.Code (Apache BookKeeper :: Parent 4.17.0-SNAPSHOT API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../jquery/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-ui.min.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="BKException.Code (Apache BookKeeper :: Parent 4.17.0-SNAPSHOT API)";
}
}
catch(err) {
}
//-->
var pathtoroot = "../../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/BKException.Code.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li>Method</li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li>Method</li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.apache.bookkeeper.client.api</a></div>
<h2 title="Interface BKException.Code" class="title">Interface BKException.Code</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Known Subinterfaces:</dt>
<dd><code><a href="../BKException.Code.html" title="interface in org.apache.bookkeeper.client">BKException.Code</a></code></dd>
</dl>
<dl>
<dt>Enclosing class:</dt>
<dd><a href="BKException.html" title="class in org.apache.bookkeeper.client.api">BKException</a></dd>
</dl>
<hr>
<pre>public static interface <span class="typeNameLabel">BKException.Code</span></pre>
<div class="block">Codes which represent the various exception types.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<section>
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#AddEntryQuorumTimeoutException">AddEntryQuorumTimeoutException</a></span></code></th>
<td class="colLast">
<div class="block">Add entry operation timeouts on waiting quorum responses.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#BookieHandleNotAvailableException">BookieHandleNotAvailableException</a></span></code></th>
<td class="colLast">
<div class="block">Bookies are not available.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ClientClosedException">ClientClosedException</a></span></code></th>
<td class="colLast">
<div class="block">Executing operations on a closed client.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DataUnknownException">DataUnknownException</a></span></code></th>
<td class="colLast">
<div class="block">Operations failed due to ledger data in an unknown state.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DigestMatchException">DigestMatchException</a></span></code></th>
<td class="colLast">
<div class="block">Digest doesn't match on returned entries.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DigestNotInitializedException">DigestNotInitializedException</a></span></code></th>
<td class="colLast">
<div class="block">Digest Manager is not initialized (client error).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DuplicateEntryIdException">DuplicateEntryIdException</a></span></code></th>
<td class="colLast">
<div class="block">Duplicated entry id is found when <a href="../LedgerHandleAdv.html#addEntry(long,byte%5B%5D)"><code>LedgerHandleAdv.addEntry(long, byte[])</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#IllegalOpException">IllegalOpException</a></span></code></th>
<td class="colLast">
<div class="block">Operation is illegal.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#IncorrectParameterException">IncorrectParameterException</a></span></code></th>
<td class="colLast">
<div class="block">Incorrect parameters (operations are absolutely not executed).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#InterruptedException">InterruptedException</a></span></code></th>
<td class="colLast">
<div class="block">Synchronous operations are interrupted.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#LedgerClosedException">LedgerClosedException</a></span></code></th>
<td class="colLast">
<div class="block">Executing operations on a closed ledger handle.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#LedgerExistException">LedgerExistException</a></span></code></th>
<td class="colLast">
<div class="block">Ledger already exists.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#LedgerFencedException">LedgerFencedException</a></span></code></th>
<td class="colLast">
<div class="block">Operations failed due to ledgers are fenced.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#LedgerIdOverflowException">LedgerIdOverflowException</a></span></code></th>
<td class="colLast">
<div class="block">Ledger id overflow happens on ledger manager.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#LedgerRecoveryException">LedgerRecoveryException</a></span></code></th>
<td class="colLast">
<div class="block">Ledger recovery operations failed.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MetadataSerializationException">MetadataSerializationException</a></span></code></th>
<td class="colLast">
<div class="block">Failure to serialize metadata.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MetadataVersionException">MetadataVersionException</a></span></code></th>
<td class="colLast">
<div class="block">Bad version on executing metadata operations.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MetaStoreException">MetaStoreException</a></span></code></th>
<td class="colLast">
<div class="block">Meta store operations failed.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#NoBookieAvailableException">NoBookieAvailableException</a></span></code></th>
<td class="colLast">
<div class="block">Unused.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#NoSuchEntryException">NoSuchEntryException</a></span></code></th>
<td class="colLast">
<div class="block">No such entry exists.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#NoSuchLedgerExistsException">NoSuchLedgerExistsException</a></span></code></th>
<td class="colLast">
<div class="block">No such ledger exists.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#NoSuchLedgerExistsOnMetadataServerException">NoSuchLedgerExistsOnMetadataServerException</a></span></code></th>
<td class="colLast">
<div class="block">No such ledger exists one metadata server.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#NotEnoughBookiesException">NotEnoughBookiesException</a></span></code></th>
<td class="colLast">
<div class="block">Not enough bookies available to form an ensemble.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#OK">OK</a></span></code></th>
<td class="colLast">
<div class="block">Everything is OK.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ProtocolVersionException">ProtocolVersionException</a></span></code></th>
<td class="colLast">
<div class="block">Protocol version is wrong (operations are absolutely not executed).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#QuorumException">QuorumException</a></span></code></th>
<td class="colLast">
<div class="block">Unused.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ReadException">ReadException</a></span></code></th>
<td class="colLast">
<div class="block">Read operations failed (bookie error).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ReplicationException">ReplicationException</a></span></code></th>
<td class="colLast">
<div class="block">Generic exception code used to propagate in replication pipeline.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#SecurityException">SecurityException</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#TimeoutException">TimeoutException</a></span></code></th>
<td class="colLast">
<div class="block">Operations timeouts.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#TooManyRequestsException">TooManyRequestsException</a></span></code></th>
<td class="colLast">
<div class="block">Operations failed due to too many requests in the queue.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#UnauthorizedAccessException">UnauthorizedAccessException</a></span></code></th>
<td class="colLast">
<div class="block">Operations failed due to unauthorized.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#UnclosedFragmentException">UnclosedFragmentException</a></span></code></th>
<td class="colLast">
<div class="block">Replication failed due to unclosed fragments.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#UnexpectedConditionException">UnexpectedConditionException</a></span></code></th>
<td class="colLast">
<div class="block">Unexpected condition.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#UNINITIALIZED">UNINITIALIZED</a></span></code></th>
<td class="colLast">
<div class="block">A placer holder (unused).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#WriteException">WriteException</a></span></code></th>
<td class="colLast">
<div class="block">Write operations failed (bookie error).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#WriteOnReadOnlyBookieException">WriteOnReadOnlyBookieException</a></span></code></th>
<td class="colLast">
<div class="block">Write operations failed due to bookies are readonly.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ZKException">ZKException</a></span></code></th>
<td class="colLast">
<div class="block">ZooKeeper operations failed.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<section>
<ul class="blockList">
<li class="blockList"><a id="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a id="UNINITIALIZED">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>UNINITIALIZED</h4>
<pre>static final&nbsp;int UNINITIALIZED</pre>
<div class="block">A placer holder (unused).</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.UNINITIALIZED">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="OK">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>OK</h4>
<pre>static final&nbsp;int OK</pre>
<div class="block">Everything is OK.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.OK">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="ReadException">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ReadException</h4>
<pre>static final&nbsp;int ReadException</pre>
<div class="block">Read operations failed (bookie error).</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.ReadException">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="QuorumException">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>QuorumException</h4>
<pre>static final&nbsp;int QuorumException</pre>
<div class="block">Unused.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.QuorumException">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="NoBookieAvailableException">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>NoBookieAvailableException</h4>
<pre>static final&nbsp;int NoBookieAvailableException</pre>
<div class="block">Unused.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.NoBookieAvailableException">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="DigestNotInitializedException">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DigestNotInitializedException</h4>
<pre>static final&nbsp;int DigestNotInitializedException</pre>
<div class="block">Digest Manager is not initialized (client error).</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.DigestNotInitializedException">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="DigestMatchException">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DigestMatchException</h4>
<pre>static final&nbsp;int DigestMatchException</pre>
<div class="block">Digest doesn't match on returned entries.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.DigestMatchException">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="NotEnoughBookiesException">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>NotEnoughBookiesException</h4>
<pre>static final&nbsp;int NotEnoughBookiesException</pre>
<div class="block">Not enough bookies available to form an ensemble.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.NotEnoughBookiesException">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="NoSuchLedgerExistsException">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>NoSuchLedgerExistsException</h4>
<pre>static final&nbsp;int NoSuchLedgerExistsException</pre>
<div class="block">No such ledger exists.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.NoSuchLedgerExistsException">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="BookieHandleNotAvailableException">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>BookieHandleNotAvailableException</h4>
<pre>static final&nbsp;int BookieHandleNotAvailableException</pre>
<div class="block">Bookies are not available.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.BookieHandleNotAvailableException">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="ZKException">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ZKException</h4>
<pre>static final&nbsp;int ZKException</pre>
<div class="block">ZooKeeper operations failed.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.ZKException">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="LedgerRecoveryException">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LedgerRecoveryException</h4>
<pre>static final&nbsp;int LedgerRecoveryException</pre>
<div class="block">Ledger recovery operations failed.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.LedgerRecoveryException">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="LedgerClosedException">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LedgerClosedException</h4>
<pre>static final&nbsp;int LedgerClosedException</pre>
<div class="block">Executing operations on a closed ledger handle.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.LedgerClosedException">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="WriteException">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>WriteException</h4>
<pre>static final&nbsp;int WriteException</pre>
<div class="block">Write operations failed (bookie error).</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.WriteException">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="NoSuchEntryException">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>NoSuchEntryException</h4>
<pre>static final&nbsp;int NoSuchEntryException</pre>
<div class="block">No such entry exists.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.NoSuchEntryException">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="IncorrectParameterException">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>IncorrectParameterException</h4>
<pre>static final&nbsp;int IncorrectParameterException</pre>
<div class="block">Incorrect parameters (operations are absolutely not executed).</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.IncorrectParameterException">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="InterruptedException">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>InterruptedException</h4>
<pre>static final&nbsp;int InterruptedException</pre>
<div class="block">Synchronous operations are interrupted.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.InterruptedException">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="ProtocolVersionException">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ProtocolVersionException</h4>
<pre>static final&nbsp;int ProtocolVersionException</pre>
<div class="block">Protocol version is wrong (operations are absolutely not executed).</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.ProtocolVersionException">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="MetadataVersionException">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MetadataVersionException</h4>
<pre>static final&nbsp;int MetadataVersionException</pre>
<div class="block">Bad version on executing metadata operations.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.MetadataVersionException">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="MetaStoreException">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MetaStoreException</h4>
<pre>static final&nbsp;int MetaStoreException</pre>
<div class="block">Meta store operations failed.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.MetaStoreException">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="ClientClosedException">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ClientClosedException</h4>
<pre>static final&nbsp;int ClientClosedException</pre>
<div class="block">Executing operations on a closed client.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.ClientClosedException">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="LedgerExistException">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LedgerExistException</h4>
<pre>static final&nbsp;int LedgerExistException</pre>
<div class="block">Ledger already exists.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.LedgerExistException">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="AddEntryQuorumTimeoutException">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>AddEntryQuorumTimeoutException</h4>
<pre>static final&nbsp;int AddEntryQuorumTimeoutException</pre>
<div class="block">Add entry operation timeouts on waiting quorum responses.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>4.5</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.AddEntryQuorumTimeoutException">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="DuplicateEntryIdException">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DuplicateEntryIdException</h4>
<pre>static final&nbsp;int DuplicateEntryIdException</pre>
<div class="block">Duplicated entry id is found when <a href="../LedgerHandleAdv.html#addEntry(long,byte%5B%5D)"><code>LedgerHandleAdv.addEntry(long, byte[])</code></a>.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>4.5</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.DuplicateEntryIdException">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="TimeoutException">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TimeoutException</h4>
<pre>static final&nbsp;int TimeoutException</pre>
<div class="block">Operations timeouts.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>4.5</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.TimeoutException">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="SecurityException">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SecurityException</h4>
<pre>static final&nbsp;int SecurityException</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.SecurityException">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="NoSuchLedgerExistsOnMetadataServerException">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>NoSuchLedgerExistsOnMetadataServerException</h4>
<pre>static final&nbsp;int NoSuchLedgerExistsOnMetadataServerException</pre>
<div class="block">No such ledger exists one metadata server.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.NoSuchLedgerExistsOnMetadataServerException">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="IllegalOpException">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>IllegalOpException</h4>
<pre>static final&nbsp;int IllegalOpException</pre>
<div class="block">Operation is illegal.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.IllegalOpException">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="LedgerFencedException">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LedgerFencedException</h4>
<pre>static final&nbsp;int LedgerFencedException</pre>
<div class="block">Operations failed due to ledgers are fenced.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.LedgerFencedException">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="UnauthorizedAccessException">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>UnauthorizedAccessException</h4>
<pre>static final&nbsp;int UnauthorizedAccessException</pre>
<div class="block">Operations failed due to unauthorized.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.UnauthorizedAccessException">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="UnclosedFragmentException">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>UnclosedFragmentException</h4>
<pre>static final&nbsp;int UnclosedFragmentException</pre>
<div class="block">Replication failed due to unclosed fragments.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.UnclosedFragmentException">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="WriteOnReadOnlyBookieException">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>WriteOnReadOnlyBookieException</h4>
<pre>static final&nbsp;int WriteOnReadOnlyBookieException</pre>
<div class="block">Write operations failed due to bookies are readonly.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.WriteOnReadOnlyBookieException">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="TooManyRequestsException">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TooManyRequestsException</h4>
<pre>static final&nbsp;int TooManyRequestsException</pre>
<div class="block">Operations failed due to too many requests in the queue.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.TooManyRequestsException">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="LedgerIdOverflowException">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LedgerIdOverflowException</h4>
<pre>static final&nbsp;int LedgerIdOverflowException</pre>
<div class="block">Ledger id overflow happens on ledger manager.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>4.5</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.LedgerIdOverflowException">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="MetadataSerializationException">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MetadataSerializationException</h4>
<pre>static final&nbsp;int MetadataSerializationException</pre>
<div class="block">Failure to serialize metadata.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>4.9</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.MetadataSerializationException">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="DataUnknownException">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DataUnknownException</h4>
<pre>static final&nbsp;int DataUnknownException</pre>
<div class="block">Operations failed due to ledger data in an unknown state.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.DataUnknownException">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="ReplicationException">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ReplicationException</h4>
<pre>static final&nbsp;int ReplicationException</pre>
<div class="block">Generic exception code used to propagate in replication pipeline.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.ReplicationException">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="UnexpectedConditionException">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>UnexpectedConditionException</h4>
<pre>static final&nbsp;int UnexpectedConditionException</pre>
<div class="block">Unexpected condition.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.bookkeeper.client.api.BKException.Code.UnexpectedConditionException">Constant Field Values</a></dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/BKException.Code.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li>Method</li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li>Method</li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 2011&#x2013;2024 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</footer>
</body>
</html>