This commit is contained in:
Michael Minella
2017-03-23 10:18:33 -05:00
6775 changed files with 1178484 additions and 106 deletions

View File

@@ -0,0 +1,312 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_31) on Thu Mar 23 09:54:33 CDT 2017 -->
<title>CompositeExceptionHandler (null 4.0.0.BUILD-SNAPSHOT API)</title>
<meta name="date" content="2017-03-23">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="CompositeExceptionHandler (null 4.0.0.BUILD-SNAPSHOT API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</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">
<li>Prev&nbsp;Class</li>
<li><a href="../../../../../org/springframework/batch/repeat/exception/DefaultExceptionHandler.html" title="class in org.springframework.batch.repeat.exception"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/springframework/batch/repeat/exception/CompositeExceptionHandler.html" target="_top">Frames</a></li>
<li><a href="CompositeExceptionHandler.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></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>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.springframework.batch.repeat.exception</div>
<h2 title="Class CompositeExceptionHandler" class="title">Class CompositeExceptionHandler</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.springframework.batch.repeat.exception.CompositeExceptionHandler</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception">ExceptionHandler</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">CompositeExceptionHandler</span>
extends java.lang.Object
implements <a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception">ExceptionHandler</a></pre>
<div class="block">Composiste <a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception"><code>ExceptionHandler</code></a> that loops though a list of delegates.</div>
<dl>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd>Dave Syer</dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/springframework/batch/repeat/exception/CompositeExceptionHandler.html#CompositeExceptionHandler--">CompositeExceptionHandler</a></span>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/springframework/batch/repeat/exception/CompositeExceptionHandler.html#handleException-org.springframework.batch.repeat.RepeatContext-java.lang.Throwable-">handleException</a></span>(<a href="../../../../../org/springframework/batch/repeat/RepeatContext.html" title="interface in org.springframework.batch.repeat">RepeatContext</a>&nbsp;context,
java.lang.Throwable&nbsp;throwable)</code>
<div class="block">Iterate over the handlers delegating the call to each in turn.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/springframework/batch/repeat/exception/CompositeExceptionHandler.html#setHandlers-org.springframework.batch.repeat.exception.ExceptionHandler:A-">setHandlers</a></span>(<a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception">ExceptionHandler</a>[]&nbsp;handlers)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="CompositeExceptionHandler--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>CompositeExceptionHandler</h4>
<pre>public&nbsp;CompositeExceptionHandler()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="setHandlers-org.springframework.batch.repeat.exception.ExceptionHandler:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setHandlers</h4>
<pre>public&nbsp;void&nbsp;setHandlers(<a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception">ExceptionHandler</a>[]&nbsp;handlers)</pre>
</li>
</ul>
<a name="handleException-org.springframework.batch.repeat.RepeatContext-java.lang.Throwable-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>handleException</h4>
<pre>public&nbsp;void&nbsp;handleException(<a href="../../../../../org/springframework/batch/repeat/RepeatContext.html" title="interface in org.springframework.batch.repeat">RepeatContext</a>&nbsp;context,
java.lang.Throwable&nbsp;throwable)
throws java.lang.Throwable</pre>
<div class="block">Iterate over the handlers delegating the call to each in turn. The chain
ends if an exception is thrown.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html#handleException-org.springframework.batch.repeat.RepeatContext-java.lang.Throwable-">handleException</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception">ExceptionHandler</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>context</code> - the current <a href="../../../../../org/springframework/batch/repeat/RepeatContext.html" title="interface in org.springframework.batch.repeat"><code>RepeatContext</code></a>. Can be used to store
state (via attributes), for example to count the number of occurrences of
a particular exception type and implement a threshold policy.</dd>
<dd><code>throwable</code> - an exception.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Throwable</code> - implementations are free to re-throw the exception</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html#handleException-org.springframework.batch.repeat.RepeatContext-java.lang.Throwable-"><code>ExceptionHandler.handleException(RepeatContext, Throwable)</code></a></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</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">
<li>Prev&nbsp;Class</li>
<li><a href="../../../../../org/springframework/batch/repeat/exception/DefaultExceptionHandler.html" title="class in org.springframework.batch.repeat.exception"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/springframework/batch/repeat/exception/CompositeExceptionHandler.html" target="_top">Frames</a></li>
<li><a href="CompositeExceptionHandler.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.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>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

View File

@@ -0,0 +1,299 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_31) on Thu Mar 23 09:54:33 CDT 2017 -->
<title>DefaultExceptionHandler (null 4.0.0.BUILD-SNAPSHOT API)</title>
<meta name="date" content="2017-03-23">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="DefaultExceptionHandler (null 4.0.0.BUILD-SNAPSHOT API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</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">
<li><a href="../../../../../org/springframework/batch/repeat/exception/CompositeExceptionHandler.html" title="class in org.springframework.batch.repeat.exception"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/springframework/batch/repeat/exception/DefaultExceptionHandler.html" target="_top">Frames</a></li>
<li><a href="DefaultExceptionHandler.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></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>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.springframework.batch.repeat.exception</div>
<h2 title="Class DefaultExceptionHandler" class="title">Class DefaultExceptionHandler</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.springframework.batch.repeat.exception.DefaultExceptionHandler</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception">ExceptionHandler</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">DefaultExceptionHandler</span>
extends java.lang.Object
implements <a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception">ExceptionHandler</a></pre>
<div class="block">Default implementation of <a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception"><code>ExceptionHandler</code></a> - just re-throws the exception it encounters.</div>
<dl>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd>Dave Syer</dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/springframework/batch/repeat/exception/DefaultExceptionHandler.html#DefaultExceptionHandler--">DefaultExceptionHandler</a></span>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/springframework/batch/repeat/exception/DefaultExceptionHandler.html#handleException-org.springframework.batch.repeat.RepeatContext-java.lang.Throwable-">handleException</a></span>(<a href="../../../../../org/springframework/batch/repeat/RepeatContext.html" title="interface in org.springframework.batch.repeat">RepeatContext</a>&nbsp;context,
java.lang.Throwable&nbsp;throwable)</code>
<div class="block">Re-throw the throwable.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="DefaultExceptionHandler--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>DefaultExceptionHandler</h4>
<pre>public&nbsp;DefaultExceptionHandler()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="handleException-org.springframework.batch.repeat.RepeatContext-java.lang.Throwable-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>handleException</h4>
<pre>public&nbsp;void&nbsp;handleException(<a href="../../../../../org/springframework/batch/repeat/RepeatContext.html" title="interface in org.springframework.batch.repeat">RepeatContext</a>&nbsp;context,
java.lang.Throwable&nbsp;throwable)
throws java.lang.Throwable</pre>
<div class="block">Re-throw the throwable.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html#handleException-org.springframework.batch.repeat.RepeatContext-java.lang.Throwable-">handleException</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception">ExceptionHandler</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>context</code> - the current <a href="../../../../../org/springframework/batch/repeat/RepeatContext.html" title="interface in org.springframework.batch.repeat"><code>RepeatContext</code></a>. Can be used to store
state (via attributes), for example to count the number of occurrences of
a particular exception type and implement a threshold policy.</dd>
<dd><code>throwable</code> - an exception.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Throwable</code> - implementations are free to re-throw the exception</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html#handleException-org.springframework.batch.repeat.RepeatContext-java.lang.Throwable-"><code>ExceptionHandler.handleException(RepeatContext,
Throwable)</code></a></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</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">
<li><a href="../../../../../org/springframework/batch/repeat/exception/CompositeExceptionHandler.html" title="class in org.springframework.batch.repeat.exception"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/springframework/batch/repeat/exception/DefaultExceptionHandler.html" target="_top">Frames</a></li>
<li><a href="DefaultExceptionHandler.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.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>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

View File

@@ -0,0 +1,250 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_31) on Thu Mar 23 09:54:33 CDT 2017 -->
<title>ExceptionHandler (null 4.0.0.BUILD-SNAPSHOT API)</title>
<meta name="date" content="2017-03-23">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ExceptionHandler (null 4.0.0.BUILD-SNAPSHOT API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</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">
<li><a href="../../../../../org/springframework/batch/repeat/exception/DefaultExceptionHandler.html" title="class in org.springframework.batch.repeat.exception"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.html" title="class in org.springframework.batch.repeat.exception"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/springframework/batch/repeat/exception/ExceptionHandler.html" target="_top">Frames</a></li>
<li><a href="ExceptionHandler.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></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>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.springframework.batch.repeat.exception</div>
<h2 title="Interface ExceptionHandler" class="title">Interface ExceptionHandler</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Known Implementing Classes:</dt>
<dd><a href="../../../../../org/springframework/batch/repeat/exception/CompositeExceptionHandler.html" title="class in org.springframework.batch.repeat.exception">CompositeExceptionHandler</a>, <a href="../../../../../org/springframework/batch/repeat/exception/DefaultExceptionHandler.html" title="class in org.springframework.batch.repeat.exception">DefaultExceptionHandler</a>, <a href="../../../../../org/springframework/batch/sample/domain/football/internal/FootballExceptionHandler.html" title="class in org.springframework.batch.sample.domain.football.internal">FootballExceptionHandler</a>, <a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.html" title="class in org.springframework.batch.repeat.exception">LogOrRethrowExceptionHandler</a>, <a href="../../../../../org/springframework/batch/repeat/exception/RethrowOnThresholdExceptionHandler.html" title="class in org.springframework.batch.repeat.exception">RethrowOnThresholdExceptionHandler</a>, <a href="../../../../../org/springframework/batch/repeat/exception/SimpleLimitExceptionHandler.html" title="class in org.springframework.batch.repeat.exception">SimpleLimitExceptionHandler</a>, <a href="../../../../../org/springframework/batch/core/step/item/SimpleRetryExceptionHandler.html" title="class in org.springframework.batch.core.step.item">SimpleRetryExceptionHandler</a></dd>
</dl>
<hr>
<br>
<pre>public interface <span class="typeNameLabel">ExceptionHandler</span></pre>
<div class="block">Handler to allow strategies for re-throwing exceptions. Normally a
<a href="../../../../../org/springframework/batch/repeat/CompletionPolicy.html" title="interface in org.springframework.batch.repeat"><code>CompletionPolicy</code></a> will be used to decide whether to end a batch when
there is no exception, and the <a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception"><code>ExceptionHandler</code></a> is used to signal an
abnormal ending - an abnormal ending would result in an
<a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception"><code>ExceptionHandler</code></a> throwing an exception. The caller will catch and
re-throw it if necessary.</div>
<dl>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd>Dave Syer, Robert Kasanicky</dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html#handleException-org.springframework.batch.repeat.RepeatContext-java.lang.Throwable-">handleException</a></span>(<a href="../../../../../org/springframework/batch/repeat/RepeatContext.html" title="interface in org.springframework.batch.repeat">RepeatContext</a>&nbsp;context,
java.lang.Throwable&nbsp;throwable)</code>
<div class="block">Deal with a Throwable during a batch - decide whether it should be
re-thrown in the first place.</div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="handleException-org.springframework.batch.repeat.RepeatContext-java.lang.Throwable-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>handleException</h4>
<pre>void&nbsp;handleException(<a href="../../../../../org/springframework/batch/repeat/RepeatContext.html" title="interface in org.springframework.batch.repeat">RepeatContext</a>&nbsp;context,
java.lang.Throwable&nbsp;throwable)
throws java.lang.Throwable</pre>
<div class="block">Deal with a Throwable during a batch - decide whether it should be
re-thrown in the first place.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>context</code> - the current <a href="../../../../../org/springframework/batch/repeat/RepeatContext.html" title="interface in org.springframework.batch.repeat"><code>RepeatContext</code></a>. Can be used to store
state (via attributes), for example to count the number of occurrences of
a particular exception type and implement a threshold policy.</dd>
<dd><code>throwable</code> - an exception.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Throwable</code> - implementations are free to re-throw the exception</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</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">
<li><a href="../../../../../org/springframework/batch/repeat/exception/DefaultExceptionHandler.html" title="class in org.springframework.batch.repeat.exception"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.html" title="class in org.springframework.batch.repeat.exception"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/springframework/batch/repeat/exception/ExceptionHandler.html" target="_top">Frames</a></li>
<li><a href="ExceptionHandler.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.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>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

View File

@@ -0,0 +1,393 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_31) on Thu Mar 23 09:54:33 CDT 2017 -->
<title>LogOrRethrowExceptionHandler.Level (null 4.0.0.BUILD-SNAPSHOT API)</title>
<meta name="date" content="2017-03-23">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="LogOrRethrowExceptionHandler.Level (null 4.0.0.BUILD-SNAPSHOT API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":9,"i1":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</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">
<li><a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.html" title="class in org.springframework.batch.repeat.exception"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/springframework/batch/repeat/exception/RethrowOnThresholdExceptionHandler.html" title="class in org.springframework.batch.repeat.exception"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.Level.html" target="_top">Frames</a></li>
<li><a href="LogOrRethrowExceptionHandler.Level.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></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>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#enum.constant.summary">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#enum.constant.detail">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.springframework.batch.repeat.exception</div>
<h2 title="Enum LogOrRethrowExceptionHandler.Level" class="title">Enum LogOrRethrowExceptionHandler.Level</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>java.lang.Enum&lt;<a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.Level.html" title="enum in org.springframework.batch.repeat.exception">LogOrRethrowExceptionHandler.Level</a>&gt;</li>
<li>
<ul class="inheritance">
<li>org.springframework.batch.repeat.exception.LogOrRethrowExceptionHandler.Level</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.Level.html" title="enum in org.springframework.batch.repeat.exception">LogOrRethrowExceptionHandler.Level</a>&gt;</dd>
</dl>
<dl>
<dt>Enclosing class:</dt>
<dd><a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.html" title="class in org.springframework.batch.repeat.exception">LogOrRethrowExceptionHandler</a></dd>
</dl>
<hr>
<br>
<pre>public static enum <span class="typeNameLabel">LogOrRethrowExceptionHandler.Level</span>
extends java.lang.Enum&lt;<a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.Level.html" title="enum in org.springframework.batch.repeat.exception">LogOrRethrowExceptionHandler.Level</a>&gt;</pre>
<div class="block">Logging levels for the handler.</div>
<dl>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd>Dave Syer</dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="enum.constant.summary">
<!-- -->
</a>
<h3>Enum Constant Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation">
<caption><span>Enum Constants</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Enum Constant and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.Level.html#DEBUG">DEBUG</a></span></code>
<div class="block">Key for <code>Classifier</code> signalling that the throwable should be
logged at debug level.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.Level.html#ERROR">ERROR</a></span></code>
<div class="block">Key for <code>Classifier</code> signalling that the throwable should be
logged at error level.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.Level.html#RETHROW">RETHROW</a></span></code>
<div class="block">Key for <code>Classifier</code> signalling that the throwable should be
rethrown.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.Level.html#WARN">WARN</a></span></code>
<div class="block">Key for <code>Classifier</code> signalling that the throwable should be
logged at warn level.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.Level.html" title="enum in org.springframework.batch.repeat.exception">LogOrRethrowExceptionHandler.Level</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.Level.html#valueOf-java.lang.String-">valueOf</a></span>(java.lang.String&nbsp;name)</code>
<div class="block">Returns the enum constant of this type with the specified name.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.Level.html" title="enum in org.springframework.batch.repeat.exception">LogOrRethrowExceptionHandler.Level</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.Level.html#values--">values</a></span>()</code>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Enum">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Enum</h3>
<code>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ ENUM CONSTANT DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="enum.constant.detail">
<!-- -->
</a>
<h3>Enum Constant Detail</h3>
<a name="RETHROW">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>RETHROW</h4>
<pre>public static final&nbsp;<a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.Level.html" title="enum in org.springframework.batch.repeat.exception">LogOrRethrowExceptionHandler.Level</a> RETHROW</pre>
<div class="block">Key for <code>Classifier</code> signalling that the throwable should be
rethrown. If the throwable is not a RuntimeException it is wrapped in
a <a href="../../../../../org/springframework/batch/repeat/RepeatException.html" title="class in org.springframework.batch.repeat"><code>RepeatException</code></a>.</div>
</li>
</ul>
<a name="DEBUG">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEBUG</h4>
<pre>public static final&nbsp;<a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.Level.html" title="enum in org.springframework.batch.repeat.exception">LogOrRethrowExceptionHandler.Level</a> DEBUG</pre>
<div class="block">Key for <code>Classifier</code> signalling that the throwable should be
logged at debug level.</div>
</li>
</ul>
<a name="WARN">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>WARN</h4>
<pre>public static final&nbsp;<a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.Level.html" title="enum in org.springframework.batch.repeat.exception">LogOrRethrowExceptionHandler.Level</a> WARN</pre>
<div class="block">Key for <code>Classifier</code> signalling that the throwable should be
logged at warn level.</div>
</li>
</ul>
<a name="ERROR">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ERROR</h4>
<pre>public static final&nbsp;<a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.Level.html" title="enum in org.springframework.batch.repeat.exception">LogOrRethrowExceptionHandler.Level</a> ERROR</pre>
<div class="block">Key for <code>Classifier</code> signalling that the throwable should be
logged at error level.</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="values--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>values</h4>
<pre>public static&nbsp;<a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.Level.html" title="enum in org.springframework.batch.repeat.exception">LogOrRethrowExceptionHandler.Level</a>[]&nbsp;values()</pre>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
<pre>
for (LogOrRethrowExceptionHandler.Level c : LogOrRethrowExceptionHandler.Level.values())
&nbsp; System.out.println(c);
</pre></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an array containing the constants of this enum type, in the order they are declared</dd>
</dl>
</li>
</ul>
<a name="valueOf-java.lang.String-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>valueOf</h4>
<pre>public static&nbsp;<a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.Level.html" title="enum in org.springframework.batch.repeat.exception">LogOrRethrowExceptionHandler.Level</a>&nbsp;valueOf(java.lang.String&nbsp;name)</pre>
<div class="block">Returns the enum constant of this type with the specified name.
The string must match <i>exactly</i> an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - the name of the enum constant to be returned.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the enum constant with the specified name</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - if this enum type has no constant with the specified name</dd>
<dd><code>java.lang.NullPointerException</code> - if the argument is null</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</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">
<li><a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.html" title="class in org.springframework.batch.repeat.exception"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/springframework/batch/repeat/exception/RethrowOnThresholdExceptionHandler.html" title="class in org.springframework.batch.repeat.exception"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.Level.html" target="_top">Frames</a></li>
<li><a href="LogOrRethrowExceptionHandler.Level.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.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>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#enum.constant.summary">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#enum.constant.detail">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

View File

@@ -0,0 +1,380 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_31) on Thu Mar 23 09:54:33 CDT 2017 -->
<title>LogOrRethrowExceptionHandler (null 4.0.0.BUILD-SNAPSHOT API)</title>
<meta name="date" content="2017-03-23">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="LogOrRethrowExceptionHandler (null 4.0.0.BUILD-SNAPSHOT API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</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">
<li><a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.Level.html" title="enum in org.springframework.batch.repeat.exception"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.html" target="_top">Frames</a></li>
<li><a href="LogOrRethrowExceptionHandler.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></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>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.springframework.batch.repeat.exception</div>
<h2 title="Class LogOrRethrowExceptionHandler" class="title">Class LogOrRethrowExceptionHandler</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.springframework.batch.repeat.exception.LogOrRethrowExceptionHandler</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception">ExceptionHandler</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">LogOrRethrowExceptionHandler</span>
extends java.lang.Object
implements <a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception">ExceptionHandler</a></pre>
<div class="block">Implementation of <a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception"><code>ExceptionHandler</code></a> based on an <code>Classifier</code>.
The classifier determines whether to log the exception or rethrow it. The
keys in the classifier must be the same as the static enum in this class.</div>
<dl>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd>Dave Syer</dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.Level.html" title="enum in org.springframework.batch.repeat.exception">LogOrRethrowExceptionHandler.Level</a></span></code>
<div class="block">Logging levels for the handler.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected org.apache.commons.logging.Log</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.html#logger">logger</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.html#LogOrRethrowExceptionHandler--">LogOrRethrowExceptionHandler</a></span>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.html#handleException-org.springframework.batch.repeat.RepeatContext-java.lang.Throwable-">handleException</a></span>(<a href="../../../../../org/springframework/batch/repeat/RepeatContext.html" title="interface in org.springframework.batch.repeat">RepeatContext</a>&nbsp;context,
java.lang.Throwable&nbsp;throwable)</code>
<div class="block">Classify the throwables and decide whether to rethrow based on the
result.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.html#setExceptionClassifier-org.springframework.classify.Classifier-">setExceptionClassifier</a></span>(org.springframework.classify.Classifier&lt;java.lang.Throwable,<a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.Level.html" title="enum in org.springframework.batch.repeat.exception">LogOrRethrowExceptionHandler.Level</a>&gt;&nbsp;exceptionClassifier)</code>
<div class="block">Setter for the <code>Classifier</code> used by this handler.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="logger">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>logger</h4>
<pre>protected final&nbsp;org.apache.commons.logging.Log logger</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="LogOrRethrowExceptionHandler--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>LogOrRethrowExceptionHandler</h4>
<pre>public&nbsp;LogOrRethrowExceptionHandler()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="setExceptionClassifier-org.springframework.classify.Classifier-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setExceptionClassifier</h4>
<pre>public&nbsp;void&nbsp;setExceptionClassifier(org.springframework.classify.Classifier&lt;java.lang.Throwable,<a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.Level.html" title="enum in org.springframework.batch.repeat.exception">LogOrRethrowExceptionHandler.Level</a>&gt;&nbsp;exceptionClassifier)</pre>
<div class="block">Setter for the <code>Classifier</code> used by this handler. The default is to
map all throwable instances to <a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.Level.html#RETHROW"><code>LogOrRethrowExceptionHandler.Level.RETHROW</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>exceptionClassifier</code> - the ExceptionClassifier to use</dd>
</dl>
</li>
</ul>
<a name="handleException-org.springframework.batch.repeat.RepeatContext-java.lang.Throwable-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>handleException</h4>
<pre>public&nbsp;void&nbsp;handleException(<a href="../../../../../org/springframework/batch/repeat/RepeatContext.html" title="interface in org.springframework.batch.repeat">RepeatContext</a>&nbsp;context,
java.lang.Throwable&nbsp;throwable)
throws java.lang.Throwable</pre>
<div class="block">Classify the throwables and decide whether to rethrow based on the
result. The context is not used.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html#handleException-org.springframework.batch.repeat.RepeatContext-java.lang.Throwable-">handleException</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception">ExceptionHandler</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>context</code> - the current <a href="../../../../../org/springframework/batch/repeat/RepeatContext.html" title="interface in org.springframework.batch.repeat"><code>RepeatContext</code></a>. Can be used to store
state (via attributes), for example to count the number of occurrences of
a particular exception type and implement a threshold policy.</dd>
<dd><code>throwable</code> - an exception.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Throwable</code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html#handleException-org.springframework.batch.repeat.RepeatContext-java.lang.Throwable-"><code>ExceptionHandler.handleException(RepeatContext, Throwable)</code></a></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</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">
<li><a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.Level.html" title="enum in org.springframework.batch.repeat.exception"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.html" target="_top">Frames</a></li>
<li><a href="LogOrRethrowExceptionHandler.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.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>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

View File

@@ -0,0 +1,401 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_31) on Thu Mar 23 09:54:33 CDT 2017 -->
<title>RethrowOnThresholdExceptionHandler (null 4.0.0.BUILD-SNAPSHOT API)</title>
<meta name="date" content="2017-03-23">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="RethrowOnThresholdExceptionHandler (null 4.0.0.BUILD-SNAPSHOT API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</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">
<li><a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.Level.html" title="enum in org.springframework.batch.repeat.exception"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/springframework/batch/repeat/exception/SimpleLimitExceptionHandler.html" title="class in org.springframework.batch.repeat.exception"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/springframework/batch/repeat/exception/RethrowOnThresholdExceptionHandler.html" target="_top">Frames</a></li>
<li><a href="RethrowOnThresholdExceptionHandler.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></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>
</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><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.springframework.batch.repeat.exception</div>
<h2 title="Class RethrowOnThresholdExceptionHandler" class="title">Class RethrowOnThresholdExceptionHandler</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.springframework.batch.repeat.exception.RethrowOnThresholdExceptionHandler</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception">ExceptionHandler</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">RethrowOnThresholdExceptionHandler</span>
extends java.lang.Object
implements <a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception">ExceptionHandler</a></pre>
<div class="block">Implementation of <a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception"><code>ExceptionHandler</code></a> that rethrows when exceptions of a
given type reach a threshold. Requires an <code>Classifier</code> that maps
exception types to unique keys, and also a map from those keys to threshold
values (Integer type).</div>
<dl>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd>Dave Syer</dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected org.apache.commons.logging.Log</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/springframework/batch/repeat/exception/RethrowOnThresholdExceptionHandler.html#logger">logger</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected static org.springframework.batch.repeat.exception.RethrowOnThresholdExceptionHandler.IntegerHolder</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/springframework/batch/repeat/exception/RethrowOnThresholdExceptionHandler.html#ZERO">ZERO</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/springframework/batch/repeat/exception/RethrowOnThresholdExceptionHandler.html#RethrowOnThresholdExceptionHandler--">RethrowOnThresholdExceptionHandler</a></span>()</code>
<div class="block">Set up the exception handler.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/springframework/batch/repeat/exception/RethrowOnThresholdExceptionHandler.html#handleException-org.springframework.batch.repeat.RepeatContext-java.lang.Throwable-">handleException</a></span>(<a href="../../../../../org/springframework/batch/repeat/RepeatContext.html" title="interface in org.springframework.batch.repeat">RepeatContext</a>&nbsp;context,
java.lang.Throwable&nbsp;throwable)</code>
<div class="block">Classify the throwables and decide whether to re-throw based on the
result.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/springframework/batch/repeat/exception/RethrowOnThresholdExceptionHandler.html#setThresholds-java.util.Map-">setThresholds</a></span>(java.util.Map&lt;java.lang.Class&lt;? extends java.lang.Throwable&gt;,java.lang.Integer&gt;&nbsp;thresholds)</code>
<div class="block">A map from exception classes to a threshold value of type Integer.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/springframework/batch/repeat/exception/RethrowOnThresholdExceptionHandler.html#setUseParent-boolean-">setUseParent</a></span>(boolean&nbsp;useParent)</code>
<div class="block">Flag to indicate the the exception counters should be shared between
sibling contexts in a nested batch.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="ZERO">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ZERO</h4>
<pre>protected static final&nbsp;org.springframework.batch.repeat.exception.RethrowOnThresholdExceptionHandler.IntegerHolder ZERO</pre>
</li>
</ul>
<a name="logger">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>logger</h4>
<pre>protected final&nbsp;org.apache.commons.logging.Log logger</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="RethrowOnThresholdExceptionHandler--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>RethrowOnThresholdExceptionHandler</h4>
<pre>public&nbsp;RethrowOnThresholdExceptionHandler()</pre>
<div class="block">Set up the exception handler. Creates a default exception handler and
threshold that maps all exceptions to a threshold of 0 - all exceptions
are rethrown by default.</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="setUseParent-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUseParent</h4>
<pre>public&nbsp;void&nbsp;setUseParent(boolean&nbsp;useParent)</pre>
<div class="block">Flag to indicate the the exception counters should be shared between
sibling contexts in a nested batch. Default is false.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>useParent</code> - true if the parent context should be used to store the
counters.</dd>
</dl>
</li>
</ul>
<a name="setThresholds-java.util.Map-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setThresholds</h4>
<pre>public&nbsp;void&nbsp;setThresholds(java.util.Map&lt;java.lang.Class&lt;? extends java.lang.Throwable&gt;,java.lang.Integer&gt;&nbsp;thresholds)</pre>
<div class="block">A map from exception classes to a threshold value of type Integer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>thresholds</code> - the threshold value map.</dd>
</dl>
</li>
</ul>
<a name="handleException-org.springframework.batch.repeat.RepeatContext-java.lang.Throwable-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>handleException</h4>
<pre>public&nbsp;void&nbsp;handleException(<a href="../../../../../org/springframework/batch/repeat/RepeatContext.html" title="interface in org.springframework.batch.repeat">RepeatContext</a>&nbsp;context,
java.lang.Throwable&nbsp;throwable)
throws java.lang.Throwable</pre>
<div class="block">Classify the throwables and decide whether to re-throw based on the
result. The context is used to accumulate the number of exceptions of the
same type according to the classifier.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html#handleException-org.springframework.batch.repeat.RepeatContext-java.lang.Throwable-">handleException</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception">ExceptionHandler</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>context</code> - the current <a href="../../../../../org/springframework/batch/repeat/RepeatContext.html" title="interface in org.springframework.batch.repeat"><code>RepeatContext</code></a>. Can be used to store
state (via attributes), for example to count the number of occurrences of
a particular exception type and implement a threshold policy.</dd>
<dd><code>throwable</code> - an exception.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Throwable</code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html#handleException-org.springframework.batch.repeat.RepeatContext-java.lang.Throwable-"><code>ExceptionHandler.handleException(RepeatContext, Throwable)</code></a></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</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">
<li><a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.Level.html" title="enum in org.springframework.batch.repeat.exception"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/springframework/batch/repeat/exception/SimpleLimitExceptionHandler.html" title="class in org.springframework.batch.repeat.exception"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/springframework/batch/repeat/exception/RethrowOnThresholdExceptionHandler.html" target="_top">Frames</a></li>
<li><a href="RethrowOnThresholdExceptionHandler.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.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>
</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><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

View File

@@ -0,0 +1,450 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_31) on Thu Mar 23 09:54:33 CDT 2017 -->
<title>SimpleLimitExceptionHandler (null 4.0.0.BUILD-SNAPSHOT API)</title>
<meta name="date" content="2017-03-23">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SimpleLimitExceptionHandler (null 4.0.0.BUILD-SNAPSHOT API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</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">
<li><a href="../../../../../org/springframework/batch/repeat/exception/RethrowOnThresholdExceptionHandler.html" title="class in org.springframework.batch.repeat.exception"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li>Next&nbsp;Class</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/springframework/batch/repeat/exception/SimpleLimitExceptionHandler.html" target="_top">Frames</a></li>
<li><a href="SimpleLimitExceptionHandler.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></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>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.springframework.batch.repeat.exception</div>
<h2 title="Class SimpleLimitExceptionHandler" class="title">Class SimpleLimitExceptionHandler</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.springframework.batch.repeat.exception.SimpleLimitExceptionHandler</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception">ExceptionHandler</a>, org.springframework.beans.factory.InitializingBean</dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">SimpleLimitExceptionHandler</span>
extends java.lang.Object
implements <a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception">ExceptionHandler</a>, org.springframework.beans.factory.InitializingBean</pre>
<div class="block">Simple implementation of exception handler which looks for given exception
types. If one of the types is found then a counter is incremented and the
limit is checked to determine if it has been exceeded and the Throwable
should be re-thrown. Also allows to specify list of 'fatal' exceptions that
are never subject to counting, but are immediately re-thrown. The fatal list
has higher priority so the two lists needn't be exclusive.</div>
<dl>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd>Dave Syer, Robert Kasanicky</dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/springframework/batch/repeat/exception/SimpleLimitExceptionHandler.html#SimpleLimitExceptionHandler--">SimpleLimitExceptionHandler</a></span>()</code>
<div class="block">Default constructor for the <a href="../../../../../org/springframework/batch/repeat/exception/SimpleLimitExceptionHandler.html" title="class in org.springframework.batch.repeat.exception"><code>SimpleLimitExceptionHandler</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/springframework/batch/repeat/exception/SimpleLimitExceptionHandler.html#SimpleLimitExceptionHandler-int-">SimpleLimitExceptionHandler</a></span>(int&nbsp;limit)</code>
<div class="block">Convenience constructor for the <a href="../../../../../org/springframework/batch/repeat/exception/SimpleLimitExceptionHandler.html" title="class in org.springframework.batch.repeat.exception"><code>SimpleLimitExceptionHandler</code></a> to
set the limit.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/springframework/batch/repeat/exception/SimpleLimitExceptionHandler.html#afterPropertiesSet--">afterPropertiesSet</a></span>()</code>
<div class="block">Apply the provided properties to create a delegate handler.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/springframework/batch/repeat/exception/SimpleLimitExceptionHandler.html#handleException-org.springframework.batch.repeat.RepeatContext-java.lang.Throwable-">handleException</a></span>(<a href="../../../../../org/springframework/batch/repeat/RepeatContext.html" title="interface in org.springframework.batch.repeat">RepeatContext</a>&nbsp;context,
java.lang.Throwable&nbsp;throwable)</code>
<div class="block">Rethrows only if the limit is breached for this context on the exception
type specified.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/springframework/batch/repeat/exception/SimpleLimitExceptionHandler.html#setExceptionClasses-java.util.Collection-">setExceptionClasses</a></span>(java.util.Collection&lt;java.lang.Class&lt;? extends java.lang.Throwable&gt;&gt;&nbsp;classes)</code>
<div class="block">Setter for the exception classes that this handler counts.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/springframework/batch/repeat/exception/SimpleLimitExceptionHandler.html#setFatalExceptionClasses-java.util.Collection-">setFatalExceptionClasses</a></span>(java.util.Collection&lt;java.lang.Class&lt;? extends java.lang.Throwable&gt;&gt;&nbsp;fatalExceptionClasses)</code>
<div class="block">Setter for the exception classes that shouldn't be counted, but rethrown
immediately.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/springframework/batch/repeat/exception/SimpleLimitExceptionHandler.html#setLimit-int-">setLimit</a></span>(int&nbsp;limit)</code>
<div class="block">The limit on the given exception type within a single context before it
is rethrown.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/springframework/batch/repeat/exception/SimpleLimitExceptionHandler.html#setUseParent-boolean-">setUseParent</a></span>(boolean&nbsp;useParent)</code>
<div class="block">Flag to indicate the the exception counters should be shared between
sibling contexts in a nested batch (i.e.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="SimpleLimitExceptionHandler-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SimpleLimitExceptionHandler</h4>
<pre>public&nbsp;SimpleLimitExceptionHandler(int&nbsp;limit)</pre>
<div class="block">Convenience constructor for the <a href="../../../../../org/springframework/batch/repeat/exception/SimpleLimitExceptionHandler.html" title="class in org.springframework.batch.repeat.exception"><code>SimpleLimitExceptionHandler</code></a> to
set the limit.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>limit</code> - the limit</dd>
</dl>
</li>
</ul>
<a name="SimpleLimitExceptionHandler--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>SimpleLimitExceptionHandler</h4>
<pre>public&nbsp;SimpleLimitExceptionHandler()</pre>
<div class="block">Default constructor for the <a href="../../../../../org/springframework/batch/repeat/exception/SimpleLimitExceptionHandler.html" title="class in org.springframework.batch.repeat.exception"><code>SimpleLimitExceptionHandler</code></a>.</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="afterPropertiesSet--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>afterPropertiesSet</h4>
<pre>public&nbsp;void&nbsp;afterPropertiesSet()
throws java.lang.Exception</pre>
<div class="block">Apply the provided properties to create a delegate handler.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>afterPropertiesSet</code>&nbsp;in interface&nbsp;<code>org.springframework.beans.factory.InitializingBean</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>InitializingBean.afterPropertiesSet()</code></dd>
</dl>
</li>
</ul>
<a name="setUseParent-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUseParent</h4>
<pre>public&nbsp;void&nbsp;setUseParent(boolean&nbsp;useParent)</pre>
<div class="block">Flag to indicate the the exception counters should be shared between
sibling contexts in a nested batch (i.e. inner loop). Default is false.
Set this flag to true if you want to count exceptions for the whole
(outer) loop in a typical container.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>useParent</code> - true if the parent context should be used to store the
counters.</dd>
</dl>
</li>
</ul>
<a name="handleException-org.springframework.batch.repeat.RepeatContext-java.lang.Throwable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handleException</h4>
<pre>public&nbsp;void&nbsp;handleException(<a href="../../../../../org/springframework/batch/repeat/RepeatContext.html" title="interface in org.springframework.batch.repeat">RepeatContext</a>&nbsp;context,
java.lang.Throwable&nbsp;throwable)
throws java.lang.Throwable</pre>
<div class="block">Rethrows only if the limit is breached for this context on the exception
type specified.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html#handleException-org.springframework.batch.repeat.RepeatContext-java.lang.Throwable-">handleException</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception">ExceptionHandler</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>context</code> - the current <a href="../../../../../org/springframework/batch/repeat/RepeatContext.html" title="interface in org.springframework.batch.repeat"><code>RepeatContext</code></a>. Can be used to store
state (via attributes), for example to count the number of occurrences of
a particular exception type and implement a threshold policy.</dd>
<dd><code>throwable</code> - an exception.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Throwable</code> - implementations are free to re-throw the exception</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/springframework/batch/repeat/exception/SimpleLimitExceptionHandler.html#setExceptionClasses-java.util.Collection-"><code>setExceptionClasses(Collection)</code></a>,
<a href="../../../../../org/springframework/batch/repeat/exception/SimpleLimitExceptionHandler.html#setLimit-int-"><code>setLimit(int)</code></a>,
<a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html#handleException-org.springframework.batch.repeat.RepeatContext-java.lang.Throwable-"><code>ExceptionHandler.handleException(org.springframework.batch.repeat.RepeatContext,
Throwable)</code></a></dd>
</dl>
</li>
</ul>
<a name="setLimit-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLimit</h4>
<pre>public&nbsp;void&nbsp;setLimit(int&nbsp;limit)</pre>
<div class="block">The limit on the given exception type within a single context before it
is rethrown.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>limit</code> - the limit</dd>
</dl>
</li>
</ul>
<a name="setExceptionClasses-java.util.Collection-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setExceptionClasses</h4>
<pre>public&nbsp;void&nbsp;setExceptionClasses(java.util.Collection&lt;java.lang.Class&lt;? extends java.lang.Throwable&gt;&gt;&nbsp;classes)</pre>
<div class="block">Setter for the exception classes that this handler counts. Defaults to
<code>Exception</code>. If more exceptionClasses are specified handler uses
single counter that is incremented when one of the recognized exception
exceptionClasses is handled.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>classes</code> - exceptionClasses</dd>
</dl>
</li>
</ul>
<a name="setFatalExceptionClasses-java.util.Collection-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>setFatalExceptionClasses</h4>
<pre>public&nbsp;void&nbsp;setFatalExceptionClasses(java.util.Collection&lt;java.lang.Class&lt;? extends java.lang.Throwable&gt;&gt;&nbsp;fatalExceptionClasses)</pre>
<div class="block">Setter for the exception classes that shouldn't be counted, but rethrown
immediately. This list has higher priority than
<a href="../../../../../org/springframework/batch/repeat/exception/SimpleLimitExceptionHandler.html#setExceptionClasses-java.util.Collection-"><code>setExceptionClasses(Collection)</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>fatalExceptionClasses</code> - defaults to <code>Error</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</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">
<li><a href="../../../../../org/springframework/batch/repeat/exception/RethrowOnThresholdExceptionHandler.html" title="class in org.springframework.batch.repeat.exception"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li>Next&nbsp;Class</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/springframework/batch/repeat/exception/SimpleLimitExceptionHandler.html" target="_top">Frames</a></li>
<li><a href="SimpleLimitExceptionHandler.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.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>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

View File

@@ -0,0 +1,32 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_31) on Thu Mar 23 09:54:37 CDT 2017 -->
<title>org.springframework.batch.repeat.exception (null 4.0.0.BUILD-SNAPSHOT API)</title>
<meta name="date" content="2017-03-23">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<h1 class="bar"><a href="../../../../../org/springframework/batch/repeat/exception/package-summary.html" target="classFrame">org.springframework.batch.repeat.exception</a></h1>
<div class="indexContainer">
<h2 title="Interfaces">Interfaces</h2>
<ul title="Interfaces">
<li><a href="ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception" target="classFrame"><span class="interfaceName">ExceptionHandler</span></a></li>
</ul>
<h2 title="Classes">Classes</h2>
<ul title="Classes">
<li><a href="CompositeExceptionHandler.html" title="class in org.springframework.batch.repeat.exception" target="classFrame">CompositeExceptionHandler</a></li>
<li><a href="DefaultExceptionHandler.html" title="class in org.springframework.batch.repeat.exception" target="classFrame">DefaultExceptionHandler</a></li>
<li><a href="LogOrRethrowExceptionHandler.html" title="class in org.springframework.batch.repeat.exception" target="classFrame">LogOrRethrowExceptionHandler</a></li>
<li><a href="RethrowOnThresholdExceptionHandler.html" title="class in org.springframework.batch.repeat.exception" target="classFrame">RethrowOnThresholdExceptionHandler</a></li>
<li><a href="SimpleLimitExceptionHandler.html" title="class in org.springframework.batch.repeat.exception" target="classFrame">SimpleLimitExceptionHandler</a></li>
</ul>
<h2 title="Enums">Enums</h2>
<ul title="Enums">
<li><a href="LogOrRethrowExceptionHandler.Level.html" title="enum in org.springframework.batch.repeat.exception" target="classFrame">LogOrRethrowExceptionHandler.Level</a></li>
</ul>
</div>
</body>
</html>

View File

@@ -0,0 +1,214 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_31) on Thu Mar 23 09:54:37 CDT 2017 -->
<title>org.springframework.batch.repeat.exception (null 4.0.0.BUILD-SNAPSHOT API)</title>
<meta name="date" content="2017-03-23">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="org.springframework.batch.repeat.exception (null 4.0.0.BUILD-SNAPSHOT API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li class="navBarCell1Rev">Package</li>
<li>Class</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">
<li><a href="../../../../../org/springframework/batch/repeat/context/package-summary.html">Prev&nbsp;Package</a></li>
<li><a href="../../../../../org/springframework/batch/repeat/interceptor/package-summary.html">Next&nbsp;Package</a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/springframework/batch/repeat/exception/package-summary.html" target="_top">Frames</a></li>
<li><a href="package-summary.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></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>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 title="Package" class="title">Package&nbsp;org.springframework.batch.repeat.exception</h1>
<div class="docSummary">
<div class="block">
Infrastructure implementations of repeat exception handler concerns.</div>
</div>
<p>See:&nbsp;<a href="#package.description">Description</a></p>
</div>
<div class="contentContainer">
<ul class="blockList">
<li class="blockList">
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Interface Summary table, listing interfaces, and an explanation">
<caption><span>Interface Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Interface</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception">ExceptionHandler</a></td>
<td class="colLast">
<div class="block">Handler to allow strategies for re-throwing exceptions.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
<caption><span>Class Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/springframework/batch/repeat/exception/CompositeExceptionHandler.html" title="class in org.springframework.batch.repeat.exception">CompositeExceptionHandler</a></td>
<td class="colLast">
<div class="block">Composiste <a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception"><code>ExceptionHandler</code></a> that loops though a list of delegates.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/springframework/batch/repeat/exception/DefaultExceptionHandler.html" title="class in org.springframework.batch.repeat.exception">DefaultExceptionHandler</a></td>
<td class="colLast">
<div class="block">Default implementation of <a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception"><code>ExceptionHandler</code></a> - just re-throws the exception it encounters.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.html" title="class in org.springframework.batch.repeat.exception">LogOrRethrowExceptionHandler</a></td>
<td class="colLast">
<div class="block">Implementation of <a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception"><code>ExceptionHandler</code></a> based on an <code>Classifier</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/springframework/batch/repeat/exception/RethrowOnThresholdExceptionHandler.html" title="class in org.springframework.batch.repeat.exception">RethrowOnThresholdExceptionHandler</a></td>
<td class="colLast">
<div class="block">Implementation of <a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception"><code>ExceptionHandler</code></a> that rethrows when exceptions of a
given type reach a threshold.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/springframework/batch/repeat/exception/SimpleLimitExceptionHandler.html" title="class in org.springframework.batch.repeat.exception">SimpleLimitExceptionHandler</a></td>
<td class="colLast">
<div class="block">Simple implementation of exception handler which looks for given exception
types.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Summary table, listing enums, and an explanation">
<caption><span>Enum Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Enum</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.Level.html" title="enum in org.springframework.batch.repeat.exception">LogOrRethrowExceptionHandler.Level</a></td>
<td class="colLast">
<div class="block">Logging levels for the handler.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
<a name="package.description">
<!-- -->
</a>
<h2 title="Package org.springframework.batch.repeat.exception Description">Package org.springframework.batch.repeat.exception Description</h2>
<div class="block"><p>
Infrastructure implementations of repeat exception handler concerns.
</p></div>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li class="navBarCell1Rev">Package</li>
<li>Class</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">
<li><a href="../../../../../org/springframework/batch/repeat/context/package-summary.html">Prev&nbsp;Package</a></li>
<li><a href="../../../../../org/springframework/batch/repeat/interceptor/package-summary.html">Next&nbsp;Package</a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/springframework/batch/repeat/exception/package-summary.html" target="_top">Frames</a></li>
<li><a href="package-summary.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.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>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

View File

@@ -0,0 +1,155 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_31) on Thu Mar 23 09:54:37 CDT 2017 -->
<title>org.springframework.batch.repeat.exception Class Hierarchy (null 4.0.0.BUILD-SNAPSHOT API)</title>
<meta name="date" content="2017-03-23">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="org.springframework.batch.repeat.exception Class Hierarchy (null 4.0.0.BUILD-SNAPSHOT API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li>Class</li>
<li class="navBarCell1Rev">Tree</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">
<li><a href="../../../../../org/springframework/batch/repeat/context/package-tree.html">Prev</a></li>
<li><a href="../../../../../org/springframework/batch/repeat/interceptor/package-tree.html">Next</a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/springframework/batch/repeat/exception/package-tree.html" target="_top">Frames</a></li>
<li><a href="package-tree.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></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>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 class="title">Hierarchy For Package org.springframework.batch.repeat.exception</h1>
<span class="packageHierarchyLabel">Package Hierarchies:</span>
<ul class="horizontal">
<li><a href="../../../../../overview-tree.html">All Packages</a></li>
</ul>
</div>
<div class="contentContainer">
<h2 title="Class Hierarchy">Class Hierarchy</h2>
<ul>
<li type="circle">java.lang.Object
<ul>
<li type="circle">org.springframework.batch.repeat.exception.<a href="../../../../../org/springframework/batch/repeat/exception/CompositeExceptionHandler.html" title="class in org.springframework.batch.repeat.exception"><span class="typeNameLink">CompositeExceptionHandler</span></a> (implements org.springframework.batch.repeat.exception.<a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception">ExceptionHandler</a>)</li>
<li type="circle">org.springframework.batch.repeat.exception.<a href="../../../../../org/springframework/batch/repeat/exception/DefaultExceptionHandler.html" title="class in org.springframework.batch.repeat.exception"><span class="typeNameLink">DefaultExceptionHandler</span></a> (implements org.springframework.batch.repeat.exception.<a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception">ExceptionHandler</a>)</li>
<li type="circle">org.springframework.batch.repeat.exception.<a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.html" title="class in org.springframework.batch.repeat.exception"><span class="typeNameLink">LogOrRethrowExceptionHandler</span></a> (implements org.springframework.batch.repeat.exception.<a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception">ExceptionHandler</a>)</li>
<li type="circle">org.springframework.batch.repeat.exception.<a href="../../../../../org/springframework/batch/repeat/exception/RethrowOnThresholdExceptionHandler.html" title="class in org.springframework.batch.repeat.exception"><span class="typeNameLink">RethrowOnThresholdExceptionHandler</span></a> (implements org.springframework.batch.repeat.exception.<a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception">ExceptionHandler</a>)</li>
<li type="circle">org.springframework.batch.repeat.exception.<a href="../../../../../org/springframework/batch/repeat/exception/SimpleLimitExceptionHandler.html" title="class in org.springframework.batch.repeat.exception"><span class="typeNameLink">SimpleLimitExceptionHandler</span></a> (implements org.springframework.batch.repeat.exception.<a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception">ExceptionHandler</a>, org.springframework.beans.factory.InitializingBean)</li>
</ul>
</li>
</ul>
<h2 title="Interface Hierarchy">Interface Hierarchy</h2>
<ul>
<li type="circle">org.springframework.batch.repeat.exception.<a href="../../../../../org/springframework/batch/repeat/exception/ExceptionHandler.html" title="interface in org.springframework.batch.repeat.exception"><span class="typeNameLink">ExceptionHandler</span></a></li>
</ul>
<h2 title="Enum Hierarchy">Enum Hierarchy</h2>
<ul>
<li type="circle">java.lang.Object
<ul>
<li type="circle">java.lang.Enum&lt;E&gt; (implements java.lang.Comparable&lt;T&gt;, java.io.Serializable)
<ul>
<li type="circle">org.springframework.batch.repeat.exception.<a href="../../../../../org/springframework/batch/repeat/exception/LogOrRethrowExceptionHandler.Level.html" title="enum in org.springframework.batch.repeat.exception"><span class="typeNameLink">LogOrRethrowExceptionHandler.Level</span></a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li>Class</li>
<li class="navBarCell1Rev">Tree</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">
<li><a href="../../../../../org/springframework/batch/repeat/context/package-tree.html">Prev</a></li>
<li><a href="../../../../../org/springframework/batch/repeat/interceptor/package-tree.html">Next</a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/springframework/batch/repeat/exception/package-tree.html" target="_top">Frames</a></li>
<li><a href="package-tree.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.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>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>