Skip to content

Commit f6a187e

Browse files
author
Antonio Buedo
authored
#v3.2.1910.0-rc - Exception handling refactored (#51)
1 parent dba1f48 commit f6a187e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+1410
-400
lines changed

doc/allclasses-index.html

Lines changed: 171 additions & 55 deletions
Large diffs are not rendered by default.

doc/allpackages-index.html

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (12.0.1) on Wed Oct 16 16:45:36 CEST 2019 -->
5+
<!-- Generated by javadoc (12.0.1) on Fri Oct 18 17:04:26 CEST 2019 -->
66
<title>All Packages</title>
77
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
8-
<meta name="dc.created" content="2019-10-16">
8+
<meta name="dc.created" content="2019-10-18">
99
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
1010
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
1111
<script type="text/javascript" src="script.js"></script>
@@ -94,38 +94,42 @@ <h1 title="All&amp;nbsp;Packages" class="title">All&nbsp;Packages</h1>
9494
<td class="colLast">&nbsp;</td>
9595
</tr>
9696
<tr class="rowColor">
97-
<th class="colFirst" scope="row"><a href="com/bitpay/sdk/model/package-summary.html">com.bitpay.sdk.model</a></th>
97+
<th class="colFirst" scope="row"><a href="com/bitpay/sdk/exceptions/package-summary.html">com.bitpay.sdk.exceptions</a></th>
9898
<td class="colLast">&nbsp;</td>
9999
</tr>
100100
<tr class="altColor">
101-
<th class="colFirst" scope="row"><a href="com/bitpay/sdk/model/Bill/package-summary.html">com.bitpay.sdk.model.Bill</a></th>
101+
<th class="colFirst" scope="row"><a href="com/bitpay/sdk/model/package-summary.html">com.bitpay.sdk.model</a></th>
102102
<td class="colLast">&nbsp;</td>
103103
</tr>
104104
<tr class="rowColor">
105-
<th class="colFirst" scope="row"><a href="com/bitpay/sdk/model/Invoice/package-summary.html">com.bitpay.sdk.model.Invoice</a></th>
105+
<th class="colFirst" scope="row"><a href="com/bitpay/sdk/model/Bill/package-summary.html">com.bitpay.sdk.model.Bill</a></th>
106106
<td class="colLast">&nbsp;</td>
107107
</tr>
108108
<tr class="altColor">
109-
<th class="colFirst" scope="row"><a href="com/bitpay/sdk/model/Ledger/package-summary.html">com.bitpay.sdk.model.Ledger</a></th>
109+
<th class="colFirst" scope="row"><a href="com/bitpay/sdk/model/Invoice/package-summary.html">com.bitpay.sdk.model.Invoice</a></th>
110110
<td class="colLast">&nbsp;</td>
111111
</tr>
112112
<tr class="rowColor">
113-
<th class="colFirst" scope="row"><a href="com/bitpay/sdk/model/Payout/package-summary.html">com.bitpay.sdk.model.Payout</a></th>
113+
<th class="colFirst" scope="row"><a href="com/bitpay/sdk/model/Ledger/package-summary.html">com.bitpay.sdk.model.Ledger</a></th>
114114
<td class="colLast">&nbsp;</td>
115115
</tr>
116116
<tr class="altColor">
117-
<th class="colFirst" scope="row"><a href="com/bitpay/sdk/model/Rate/package-summary.html">com.bitpay.sdk.model.Rate</a></th>
117+
<th class="colFirst" scope="row"><a href="com/bitpay/sdk/model/Payout/package-summary.html">com.bitpay.sdk.model.Payout</a></th>
118118
<td class="colLast">&nbsp;</td>
119119
</tr>
120120
<tr class="rowColor">
121-
<th class="colFirst" scope="row"><a href="com/bitpay/sdk/model/Settlement/package-summary.html">com.bitpay.sdk.model.Settlement</a></th>
121+
<th class="colFirst" scope="row"><a href="com/bitpay/sdk/model/Rate/package-summary.html">com.bitpay.sdk.model.Rate</a></th>
122122
<td class="colLast">&nbsp;</td>
123123
</tr>
124124
<tr class="altColor">
125-
<th class="colFirst" scope="row"><a href="com/bitpay/sdk/util/package-summary.html">com.bitpay.sdk.util</a></th>
125+
<th class="colFirst" scope="row"><a href="com/bitpay/sdk/model/Settlement/package-summary.html">com.bitpay.sdk.model.Settlement</a></th>
126126
<td class="colLast">&nbsp;</td>
127127
</tr>
128128
<tr class="rowColor">
129+
<th class="colFirst" scope="row"><a href="com/bitpay/sdk/util/package-summary.html">com.bitpay.sdk.util</a></th>
130+
<td class="colLast">&nbsp;</td>
131+
</tr>
132+
<tr class="altColor">
129133
<th class="colFirst" scope="row"><a href="test/package-summary.html">test</a></th>
130134
<td class="colLast">&nbsp;</td>
131135
</tr>

doc/constant-values.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (12.0.1) on Wed Oct 16 16:45:36 CEST 2019 -->
5+
<!-- Generated by javadoc (12.0.1) on Fri Oct 18 17:04:26 CEST 2019 -->
66
<title>Constant Field Values</title>
77
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
8-
<meta name="dc.created" content="2019-10-16">
8+
<meta name="dc.created" content="2019-10-18">
99
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
1010
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
1111
<script type="text/javascript" src="script.js"></script>

doc/element-list

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
com.bitpay.sdk
2+
com.bitpay.sdk.exceptions
23
com.bitpay.sdk.model
34
com.bitpay.sdk.model.Bill
45
com.bitpay.sdk.model.Invoice

doc/help-doc.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (12.0.1) on Wed Oct 16 16:45:36 CEST 2019 -->
5+
<!-- Generated by javadoc (12.0.1) on Fri Oct 18 17:04:26 CEST 2019 -->
66
<title>API Help</title>
77
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
8-
<meta name="dc.created" content="2019-10-16">
8+
<meta name="dc.created" content="2019-10-18">
99
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
1010
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
1111
<script type="text/javascript" src="script.js"></script>

doc/index.html

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (12.0.1) on Wed Oct 16 16:45:36 CEST 2019 -->
5+
<!-- Generated by javadoc (12.0.1) on Fri Oct 18 17:04:26 CEST 2019 -->
66
<title>Overview</title>
77
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
8-
<meta name="dc.created" content="2019-10-16">
8+
<meta name="dc.created" content="2019-10-18">
99
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
1010
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
1111
<script type="text/javascript" src="script.js"></script>
@@ -89,38 +89,42 @@
8989
<td class="colLast">&nbsp;</td>
9090
</tr>
9191
<tr class="rowColor" id="i1">
92-
<th class="colFirst" scope="row"><a href="com/bitpay/sdk/model/package-summary.html">com.bitpay.sdk.model</a></th>
92+
<th class="colFirst" scope="row"><a href="com/bitpay/sdk/exceptions/package-summary.html">com.bitpay.sdk.exceptions</a></th>
9393
<td class="colLast">&nbsp;</td>
9494
</tr>
9595
<tr class="altColor" id="i2">
96-
<th class="colFirst" scope="row"><a href="com/bitpay/sdk/model/Bill/package-summary.html">com.bitpay.sdk.model.Bill</a></th>
96+
<th class="colFirst" scope="row"><a href="com/bitpay/sdk/model/package-summary.html">com.bitpay.sdk.model</a></th>
9797
<td class="colLast">&nbsp;</td>
9898
</tr>
9999
<tr class="rowColor" id="i3">
100-
<th class="colFirst" scope="row"><a href="com/bitpay/sdk/model/Invoice/package-summary.html">com.bitpay.sdk.model.Invoice</a></th>
100+
<th class="colFirst" scope="row"><a href="com/bitpay/sdk/model/Bill/package-summary.html">com.bitpay.sdk.model.Bill</a></th>
101101
<td class="colLast">&nbsp;</td>
102102
</tr>
103103
<tr class="altColor" id="i4">
104-
<th class="colFirst" scope="row"><a href="com/bitpay/sdk/model/Ledger/package-summary.html">com.bitpay.sdk.model.Ledger</a></th>
104+
<th class="colFirst" scope="row"><a href="com/bitpay/sdk/model/Invoice/package-summary.html">com.bitpay.sdk.model.Invoice</a></th>
105105
<td class="colLast">&nbsp;</td>
106106
</tr>
107107
<tr class="rowColor" id="i5">
108-
<th class="colFirst" scope="row"><a href="com/bitpay/sdk/model/Payout/package-summary.html">com.bitpay.sdk.model.Payout</a></th>
108+
<th class="colFirst" scope="row"><a href="com/bitpay/sdk/model/Ledger/package-summary.html">com.bitpay.sdk.model.Ledger</a></th>
109109
<td class="colLast">&nbsp;</td>
110110
</tr>
111111
<tr class="altColor" id="i6">
112-
<th class="colFirst" scope="row"><a href="com/bitpay/sdk/model/Rate/package-summary.html">com.bitpay.sdk.model.Rate</a></th>
112+
<th class="colFirst" scope="row"><a href="com/bitpay/sdk/model/Payout/package-summary.html">com.bitpay.sdk.model.Payout</a></th>
113113
<td class="colLast">&nbsp;</td>
114114
</tr>
115115
<tr class="rowColor" id="i7">
116-
<th class="colFirst" scope="row"><a href="com/bitpay/sdk/model/Settlement/package-summary.html">com.bitpay.sdk.model.Settlement</a></th>
116+
<th class="colFirst" scope="row"><a href="com/bitpay/sdk/model/Rate/package-summary.html">com.bitpay.sdk.model.Rate</a></th>
117117
<td class="colLast">&nbsp;</td>
118118
</tr>
119119
<tr class="altColor" id="i8">
120-
<th class="colFirst" scope="row"><a href="com/bitpay/sdk/util/package-summary.html">com.bitpay.sdk.util</a></th>
120+
<th class="colFirst" scope="row"><a href="com/bitpay/sdk/model/Settlement/package-summary.html">com.bitpay.sdk.model.Settlement</a></th>
121121
<td class="colLast">&nbsp;</td>
122122
</tr>
123123
<tr class="rowColor" id="i9">
124+
<th class="colFirst" scope="row"><a href="com/bitpay/sdk/util/package-summary.html">com.bitpay.sdk.util</a></th>
125+
<td class="colLast">&nbsp;</td>
126+
</tr>
127+
<tr class="altColor" id="i10">
124128
<th class="colFirst" scope="row"><a href="test/package-summary.html">test</a></th>
125129
<td class="colLast">&nbsp;</td>
126130
</tr>

doc/member-search-index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/member-search-index.zip

299 Bytes
Binary file not shown.

doc/overview-summary.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (12.0.1) on Wed Oct 16 16:45:36 CEST 2019 -->
5+
<!-- Generated by javadoc (12.0.1) on Fri Oct 18 17:04:26 CEST 2019 -->
66
<title>Generated Documentation (Untitled)</title>
77
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
8-
<meta name="dc.created" content="2019-10-16">
8+
<meta name="dc.created" content="2019-10-18">
99
<script type="text/javascript">window.location.replace('index.html')</script>
1010
<noscript>
1111
<meta http-equiv="Refresh" content="0;index.html">

doc/overview-tree.html

Lines changed: 62 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (12.0.1) on Wed Oct 16 16:45:36 CEST 2019 -->
5+
<!-- Generated by javadoc (12.0.1) on Fri Oct 18 17:04:26 CEST 2019 -->
66
<title>Class Hierarchy</title>
77
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
8-
<meta name="dc.created" content="2019-10-16">
8+
<meta name="dc.created" content="2019-10-18">
99
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
1010
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
1111
<script type="text/javascript" src="script.js"></script>
@@ -80,6 +80,7 @@ <h1 class="title">Hierarchy For All Packages</h1>
8080
<span class="packageHierarchyLabel">Package Hierarchies:</span>
8181
<ul class="horizontal">
8282
<li><a href="com/bitpay/sdk/package-tree.html">com.bitpay.sdk</a>, </li>
83+
<li><a href="com/bitpay/sdk/exceptions/package-tree.html">com.bitpay.sdk.exceptions</a>, </li>
8384
<li><a href="com/bitpay/sdk/model/package-tree.html">com.bitpay.sdk.model</a>, </li>
8485
<li><a href="com/bitpay/sdk/model/Bill/package-tree.html">com.bitpay.sdk.model.Bill</a>, </li>
8586
<li><a href="com/bitpay/sdk/model/Invoice/package-tree.html">com.bitpay.sdk.model.Invoice</a>, </li>
@@ -161,6 +162,65 @@ <h2 title="Class Hierarchy">Class Hierarchy</h2>
161162
<li class="circle">java.lang.Exception
162163
<ul>
163164
<li class="circle">com.bitpay.sdk.<a href="com/bitpay/sdk/BitPayException.html" title="class in com.bitpay.sdk"><span class="typeNameLink">BitPayException</span></a></li>
165+
<li class="circle">com.bitpay.sdk.exceptions.<a href="com/bitpay/sdk/exceptions/BitPayException.html" title="class in com.bitpay.sdk.exceptions"><span class="typeNameLink">BitPayException</span></a>
166+
<ul>
167+
<li class="circle">com.bitpay.sdk.exceptions.<a href="com/bitpay/sdk/exceptions/BillException.html" title="class in com.bitpay.sdk.exceptions"><span class="typeNameLink">BillException</span></a>
168+
<ul>
169+
<li class="circle">com.bitpay.sdk.exceptions.<a href="com/bitpay/sdk/exceptions/BillCreationException.html" title="class in com.bitpay.sdk.exceptions"><span class="typeNameLink">BillCreationException</span></a></li>
170+
<li class="circle">com.bitpay.sdk.exceptions.<a href="com/bitpay/sdk/exceptions/BillDeliveryException.html" title="class in com.bitpay.sdk.exceptions"><span class="typeNameLink">BillDeliveryException</span></a></li>
171+
<li class="circle">com.bitpay.sdk.exceptions.<a href="com/bitpay/sdk/exceptions/BillQueryException.html" title="class in com.bitpay.sdk.exceptions"><span class="typeNameLink">BillQueryException</span></a></li>
172+
<li class="circle">com.bitpay.sdk.exceptions.<a href="com/bitpay/sdk/exceptions/BillUpdateException.html" title="class in com.bitpay.sdk.exceptions"><span class="typeNameLink">BillUpdateException</span></a></li>
173+
</ul>
174+
</li>
175+
<li class="circle">com.bitpay.sdk.exceptions.<a href="com/bitpay/sdk/exceptions/CurrencyException.html" title="class in com.bitpay.sdk.exceptions"><span class="typeNameLink">CurrencyException</span></a>
176+
<ul>
177+
<li class="circle">com.bitpay.sdk.exceptions.<a href="com/bitpay/sdk/exceptions/CurrencyQueryException.html" title="class in com.bitpay.sdk.exceptions"><span class="typeNameLink">CurrencyQueryException</span></a></li>
178+
</ul>
179+
</li>
180+
<li class="circle">com.bitpay.sdk.exceptions.<a href="com/bitpay/sdk/exceptions/InvoiceException.html" title="class in com.bitpay.sdk.exceptions"><span class="typeNameLink">InvoiceException</span></a>
181+
<ul>
182+
<li class="circle">com.bitpay.sdk.exceptions.<a href="com/bitpay/sdk/exceptions/InvoiceCreationException.html" title="class in com.bitpay.sdk.exceptions"><span class="typeNameLink">InvoiceCreationException</span></a></li>
183+
<li class="circle">com.bitpay.sdk.exceptions.<a href="com/bitpay/sdk/exceptions/InvoiceQueryException.html" title="class in com.bitpay.sdk.exceptions"><span class="typeNameLink">InvoiceQueryException</span></a></li>
184+
</ul>
185+
</li>
186+
<li class="circle">com.bitpay.sdk.exceptions.<a href="com/bitpay/sdk/exceptions/LedgerException.html" title="class in com.bitpay.sdk.exceptions"><span class="typeNameLink">LedgerException</span></a>
187+
<ul>
188+
<li class="circle">com.bitpay.sdk.exceptions.<a href="com/bitpay/sdk/exceptions/LedgerQueryException.html" title="class in com.bitpay.sdk.exceptions"><span class="typeNameLink">LedgerQueryException</span></a></li>
189+
</ul>
190+
</li>
191+
<li class="circle">com.bitpay.sdk.exceptions.<a href="com/bitpay/sdk/exceptions/PayoutCreationException.html" title="class in com.bitpay.sdk.exceptions"><span class="typeNameLink">PayoutCreationException</span></a></li>
192+
<li class="circle">com.bitpay.sdk.exceptions.<a href="com/bitpay/sdk/exceptions/PayoutException.html" title="class in com.bitpay.sdk.exceptions"><span class="typeNameLink">PayoutException</span></a>
193+
<ul>
194+
<li class="circle">com.bitpay.sdk.exceptions.<a href="com/bitpay/sdk/exceptions/PayoutCancellationException.html" title="class in com.bitpay.sdk.exceptions"><span class="typeNameLink">PayoutCancellationException</span></a></li>
195+
<li class="circle">com.bitpay.sdk.exceptions.<a href="com/bitpay/sdk/exceptions/PayoutQueryException.html" title="class in com.bitpay.sdk.exceptions"><span class="typeNameLink">PayoutQueryException</span></a></li>
196+
</ul>
197+
</li>
198+
<li class="circle">com.bitpay.sdk.exceptions.<a href="com/bitpay/sdk/exceptions/RateException.html" title="class in com.bitpay.sdk.exceptions"><span class="typeNameLink">RateException</span></a>
199+
<ul>
200+
<li class="circle">com.bitpay.sdk.exceptions.<a href="com/bitpay/sdk/exceptions/RateQueryException.html" title="class in com.bitpay.sdk.exceptions"><span class="typeNameLink">RateQueryException</span></a></li>
201+
</ul>
202+
</li>
203+
<li class="circle">com.bitpay.sdk.exceptions.<a href="com/bitpay/sdk/exceptions/RefundException.html" title="class in com.bitpay.sdk.exceptions"><span class="typeNameLink">RefundException</span></a>
204+
<ul>
205+
<li class="circle">com.bitpay.sdk.exceptions.<a href="com/bitpay/sdk/exceptions/RefundCancellationException.html" title="class in com.bitpay.sdk.exceptions"><span class="typeNameLink">RefundCancellationException</span></a></li>
206+
<li class="circle">com.bitpay.sdk.exceptions.<a href="com/bitpay/sdk/exceptions/RefundCreationException.html" title="class in com.bitpay.sdk.exceptions"><span class="typeNameLink">RefundCreationException</span></a></li>
207+
<li class="circle">com.bitpay.sdk.exceptions.<a href="com/bitpay/sdk/exceptions/RefundQueryException.html" title="class in com.bitpay.sdk.exceptions"><span class="typeNameLink">RefundQueryException</span></a></li>
208+
</ul>
209+
</li>
210+
<li class="circle">com.bitpay.sdk.exceptions.<a href="com/bitpay/sdk/exceptions/SettlementException.html" title="class in com.bitpay.sdk.exceptions"><span class="typeNameLink">SettlementException</span></a>
211+
<ul>
212+
<li class="circle">com.bitpay.sdk.exceptions.<a href="com/bitpay/sdk/exceptions/SettlementQueryException.html" title="class in com.bitpay.sdk.exceptions"><span class="typeNameLink">SettlementQueryException</span></a></li>
213+
</ul>
214+
</li>
215+
<li class="circle">com.bitpay.sdk.exceptions.<a href="com/bitpay/sdk/exceptions/SubscriptionException.html" title="class in com.bitpay.sdk.exceptions"><span class="typeNameLink">SubscriptionException</span></a>
216+
<ul>
217+
<li class="circle">com.bitpay.sdk.exceptions.<a href="com/bitpay/sdk/exceptions/SubscriptionCreationException.html" title="class in com.bitpay.sdk.exceptions"><span class="typeNameLink">SubscriptionCreationException</span></a></li>
218+
<li class="circle">com.bitpay.sdk.exceptions.<a href="com/bitpay/sdk/exceptions/SubscriptionQueryException.html" title="class in com.bitpay.sdk.exceptions"><span class="typeNameLink">SubscriptionQueryException</span></a></li>
219+
<li class="circle">com.bitpay.sdk.exceptions.<a href="com/bitpay/sdk/exceptions/SubscriptionUpdateException.html" title="class in com.bitpay.sdk.exceptions"><span class="typeNameLink">SubscriptionUpdateException</span></a></li>
220+
</ul>
221+
</li>
222+
</ul>
223+
</li>
164224
</ul>
165225
</li>
166226
</ul>

0 commit comments

Comments
 (0)