Skip to content

Commit

Permalink
#v7.0.2110.0-rc - Exception handler update (#78)
Browse files Browse the repository at this point in the history
* - REST error handler updated
* - Old Refunds functionality fully removed
* - Apidoc updated
  • Loading branch information
Antonio Buedo committed Oct 11, 2021
1 parent 6989d0d commit 1a47b29
Show file tree
Hide file tree
Showing 190 changed files with 2,313 additions and 1,897 deletions.
180 changes: 86 additions & 94 deletions apidocs/allclasses-index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions apidocs/allpackages-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (12.0.1) on Tue Sep 28 15:47:12 CEST 2021 -->
<!-- Generated by javadoc (12.0.1) on Mon Oct 11 18:04:20 CEST 2021 -->
<title>All Packages</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2021-09-28">
<meta name="dc.created" content="2021-10-11">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="script.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions apidocs/com/bitpay/sdk/BitPayException.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ <h2 title="Class BitPayException" class="title">Class BitPayException</h2>
<li>java.lang.Exception</li>
<li>
<ul class="inheritance">
<li>com.bitpay.sdk.BitPayException</li>
<li>com.bitpay.sdk.exceptions.RateQueryException.BitPayException</li>
</ul>
</li>
</ul>
Expand All @@ -126,7 +126,7 @@ <h2 title="Class BitPayException" class="title">Class BitPayException</h2>
extends java.lang.Exception</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../serialized-form.html#com.bitpay.sdk.BitPayException">Serialized Form</a></dd>
<dd><a href="../../../serialized-form.html#com.bitpay.sdk.exceptions.BitPayException">Serialized Form</a></dd>
</dl>
</li>
</ul>
Expand Down
463 changes: 137 additions & 326 deletions apidocs/com/bitpay/sdk/Client.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions apidocs/com/bitpay/sdk/Config.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (12.0.1) on Tue Sep 28 15:47:12 CEST 2021 -->
<!-- Generated by javadoc (12.0.1) on Mon Oct 11 18:04:20 CEST 2021 -->
<title>Config</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2021-09-28">
<meta name="dc.created" content="2021-10-11">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions apidocs/com/bitpay/sdk/Env.Tokens.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (12.0.1) on Tue Sep 28 15:47:12 CEST 2021 -->
<!-- Generated by javadoc (12.0.1) on Mon Oct 11 18:04:20 CEST 2021 -->
<title>Env.Tokens</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2021-09-28">
<meta name="dc.created" content="2021-10-11">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions apidocs/com/bitpay/sdk/Env.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (12.0.1) on Tue Sep 28 15:47:12 CEST 2021 -->
<!-- Generated by javadoc (12.0.1) on Mon Oct 11 18:04:20 CEST 2021 -->
<title>Env</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2021-09-28">
<meta name="dc.created" content="2021-10-11">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
Expand Down
30 changes: 25 additions & 5 deletions apidocs/com/bitpay/sdk/exceptions/BillCreationException.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (12.0.1) on Tue Sep 28 15:47:12 CEST 2021 -->
<!-- Generated by javadoc (12.0.1) on Mon Oct 11 18:04:20 CEST 2021 -->
<title>BillCreationException</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2021-09-28">
<meta name="dc.created" content="2021-10-11">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
Expand Down Expand Up @@ -106,6 +106,12 @@ <h2 title="Class BillCreationException" class="title">Class BillCreationExceptio
<li>java.lang.Exception</li>
<li>
<ul class="inheritance">
<li>java.io.IOException</li>
<li>
<ul class="inheritance">
<li>org.apache.http.client.ClientProtocolException</li>
<li>
<ul class="inheritance">
<li><a href="BitPayException.html" title="class in com.bitpay.sdk.exceptions">com.bitpay.sdk.exceptions.BitPayException</a></li>
<li>
<ul class="inheritance">
Expand All @@ -124,6 +130,10 @@ <h2 title="Class BillCreationException" class="title">Class BillCreationExceptio
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
Expand Down Expand Up @@ -160,7 +170,8 @@ <h3>Constructor Summary</h3>
</tr>
<tbody>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(java.lang.String)">BillCreationException</a></span>&#8203;(java.lang.String&nbsp;message)</code></th>
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(java.lang.String,java.lang.String)">BillCreationException</a></span>&#8203;(java.lang.String&nbsp;status,
java.lang.String&nbsp;message)</code></th>
<td class="colLast">
<div class="block">Construct the BillCreationException.</div>
</td>
Expand All @@ -179,6 +190,13 @@ <h3>Constructor Summary</h3>
</a>
<h3>Method Summary</h3>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.com.bitpay.sdk.exceptions.BitPayException">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;com.bitpay.sdk.exceptions.<a href="BitPayException.html" title="class in com.bitpay.sdk.exceptions">BitPayException</a></h3>
<code><a href="BitPayException.html#getReasonPhrase()">getReasonPhrase</a>, <a href="BitPayException.html#getStatusCode()">getStatusCode</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Throwable">
<!-- -->
</a>
Expand Down Expand Up @@ -208,16 +226,18 @@ <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;(java.lang.String)">
<a id="&lt;init&gt;(java.lang.String,java.lang.String)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>BillCreationException</h4>
<pre>public&nbsp;BillCreationException&#8203;(java.lang.String&nbsp;message)</pre>
<pre>public&nbsp;BillCreationException&#8203;(java.lang.String&nbsp;status,
java.lang.String&nbsp;message)</pre>
<div class="block">Construct the BillCreationException.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>status</code> - String [optional] The Exception code to throw.</dd>
<dd><code>message</code> - String [optional] The Exception message to throw.</dd>
</dl>
</li>
Expand Down
30 changes: 25 additions & 5 deletions apidocs/com/bitpay/sdk/exceptions/BillDeliveryException.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (12.0.1) on Tue Sep 28 15:47:12 CEST 2021 -->
<!-- Generated by javadoc (12.0.1) on Mon Oct 11 18:04:20 CEST 2021 -->
<title>BillDeliveryException</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2021-09-28">
<meta name="dc.created" content="2021-10-11">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
Expand Down Expand Up @@ -106,6 +106,12 @@ <h2 title="Class BillDeliveryException" class="title">Class BillDeliveryExceptio
<li>java.lang.Exception</li>
<li>
<ul class="inheritance">
<li>java.io.IOException</li>
<li>
<ul class="inheritance">
<li>org.apache.http.client.ClientProtocolException</li>
<li>
<ul class="inheritance">
<li><a href="BitPayException.html" title="class in com.bitpay.sdk.exceptions">com.bitpay.sdk.exceptions.BitPayException</a></li>
<li>
<ul class="inheritance">
Expand All @@ -124,6 +130,10 @@ <h2 title="Class BillDeliveryException" class="title">Class BillDeliveryExceptio
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
Expand Down Expand Up @@ -160,7 +170,8 @@ <h3>Constructor Summary</h3>
</tr>
<tbody>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(java.lang.String)">BillDeliveryException</a></span>&#8203;(java.lang.String&nbsp;message)</code></th>
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(java.lang.String,java.lang.String)">BillDeliveryException</a></span>&#8203;(java.lang.String&nbsp;status,
java.lang.String&nbsp;message)</code></th>
<td class="colLast">
<div class="block">Construct the BillDeliveryException.</div>
</td>
Expand All @@ -179,6 +190,13 @@ <h3>Constructor Summary</h3>
</a>
<h3>Method Summary</h3>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.com.bitpay.sdk.exceptions.BitPayException">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;com.bitpay.sdk.exceptions.<a href="BitPayException.html" title="class in com.bitpay.sdk.exceptions">BitPayException</a></h3>
<code><a href="BitPayException.html#getReasonPhrase()">getReasonPhrase</a>, <a href="BitPayException.html#getStatusCode()">getStatusCode</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Throwable">
<!-- -->
</a>
Expand Down Expand Up @@ -208,16 +226,18 @@ <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;(java.lang.String)">
<a id="&lt;init&gt;(java.lang.String,java.lang.String)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>BillDeliveryException</h4>
<pre>public&nbsp;BillDeliveryException&#8203;(java.lang.String&nbsp;message)</pre>
<pre>public&nbsp;BillDeliveryException&#8203;(java.lang.String&nbsp;status,
java.lang.String&nbsp;message)</pre>
<div class="block">Construct the BillDeliveryException.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>status</code> - String [optional] The Exception code to throw.</dd>
<dd><code>message</code> - String [optional] The Exception message to throw.</dd>
</dl>
</li>
Expand Down
30 changes: 25 additions & 5 deletions apidocs/com/bitpay/sdk/exceptions/BillException.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (12.0.1) on Tue Sep 28 15:47:12 CEST 2021 -->
<!-- Generated by javadoc (12.0.1) on Mon Oct 11 18:04:20 CEST 2021 -->
<title>BillException</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2021-09-28">
<meta name="dc.created" content="2021-10-11">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
Expand Down Expand Up @@ -106,6 +106,12 @@ <h2 title="Class BillException" class="title">Class BillException</h2>
<li>java.lang.Exception</li>
<li>
<ul class="inheritance">
<li>java.io.IOException</li>
<li>
<ul class="inheritance">
<li>org.apache.http.client.ClientProtocolException</li>
<li>
<ul class="inheritance">
<li><a href="BitPayException.html" title="class in com.bitpay.sdk.exceptions">com.bitpay.sdk.exceptions.BitPayException</a></li>
<li>
<ul class="inheritance">
Expand All @@ -119,6 +125,10 @@ <h2 title="Class BillException" class="title">Class BillException</h2>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
Expand Down Expand Up @@ -159,7 +169,8 @@ <h3>Constructor Summary</h3>
</tr>
<tbody>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(java.lang.String)">BillException</a></span>&#8203;(java.lang.String&nbsp;message)</code></th>
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(java.lang.String,java.lang.String)">BillException</a></span>&#8203;(java.lang.String&nbsp;status,
java.lang.String&nbsp;message)</code></th>
<td class="colLast">
<div class="block">Construct the BillException.</div>
</td>
Expand All @@ -178,6 +189,13 @@ <h3>Constructor Summary</h3>
</a>
<h3>Method Summary</h3>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.com.bitpay.sdk.exceptions.BitPayException">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;com.bitpay.sdk.exceptions.<a href="BitPayException.html" title="class in com.bitpay.sdk.exceptions">BitPayException</a></h3>
<code><a href="BitPayException.html#getReasonPhrase()">getReasonPhrase</a>, <a href="BitPayException.html#getStatusCode()">getStatusCode</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Throwable">
<!-- -->
</a>
Expand Down Expand Up @@ -207,16 +225,18 @@ <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;(java.lang.String)">
<a id="&lt;init&gt;(java.lang.String,java.lang.String)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>BillException</h4>
<pre>public&nbsp;BillException&#8203;(java.lang.String&nbsp;message)</pre>
<pre>public&nbsp;BillException&#8203;(java.lang.String&nbsp;status,
java.lang.String&nbsp;message)</pre>
<div class="block">Construct the BillException.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>status</code> - String [optional] The Exception code to throw.</dd>
<dd><code>message</code> - String [optional] The Exception message to throw.</dd>
</dl>
</li>
Expand Down
30 changes: 25 additions & 5 deletions apidocs/com/bitpay/sdk/exceptions/BillQueryException.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (12.0.1) on Tue Sep 28 15:47:12 CEST 2021 -->
<!-- Generated by javadoc (12.0.1) on Mon Oct 11 18:04:20 CEST 2021 -->
<title>BillQueryException</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2021-09-28">
<meta name="dc.created" content="2021-10-11">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
Expand Down Expand Up @@ -106,6 +106,12 @@ <h2 title="Class BillQueryException" class="title">Class BillQueryException</h2>
<li>java.lang.Exception</li>
<li>
<ul class="inheritance">
<li>java.io.IOException</li>
<li>
<ul class="inheritance">
<li>org.apache.http.client.ClientProtocolException</li>
<li>
<ul class="inheritance">
<li><a href="BitPayException.html" title="class in com.bitpay.sdk.exceptions">com.bitpay.sdk.exceptions.BitPayException</a></li>
<li>
<ul class="inheritance">
Expand All @@ -124,6 +130,10 @@ <h2 title="Class BillQueryException" class="title">Class BillQueryException</h2>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
Expand Down Expand Up @@ -160,7 +170,8 @@ <h3>Constructor Summary</h3>
</tr>
<tbody>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(java.lang.String)">BillQueryException</a></span>&#8203;(java.lang.String&nbsp;message)</code></th>
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(java.lang.String,java.lang.String)">BillQueryException</a></span>&#8203;(java.lang.String&nbsp;status,
java.lang.String&nbsp;message)</code></th>
<td class="colLast">
<div class="block">Construct the BillQueryException.</div>
</td>
Expand All @@ -179,6 +190,13 @@ <h3>Constructor Summary</h3>
</a>
<h3>Method Summary</h3>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.com.bitpay.sdk.exceptions.BitPayException">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;com.bitpay.sdk.exceptions.<a href="BitPayException.html" title="class in com.bitpay.sdk.exceptions">BitPayException</a></h3>
<code><a href="BitPayException.html#getReasonPhrase()">getReasonPhrase</a>, <a href="BitPayException.html#getStatusCode()">getStatusCode</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Throwable">
<!-- -->
</a>
Expand Down Expand Up @@ -208,16 +226,18 @@ <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;(java.lang.String)">
<a id="&lt;init&gt;(java.lang.String,java.lang.String)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>BillQueryException</h4>
<pre>public&nbsp;BillQueryException&#8203;(java.lang.String&nbsp;message)</pre>
<pre>public&nbsp;BillQueryException&#8203;(java.lang.String&nbsp;status,
java.lang.String&nbsp;message)</pre>
<div class="block">Construct the BillQueryException.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>status</code> - String [optional] The Exception code to throw.</dd>
<dd><code>message</code> - String [optional] The Exception message to throw.</dd>
</dl>
</li>
Expand Down
Loading

0 comments on commit 1a47b29

Please sign in to comment.