From f46dc809e4e4c621874fc3de745d26b99e6fbe15 Mon Sep 17 00:00:00 2001 From: Mike Hearn Date: Fri, 31 Jan 2014 16:01:00 +0100 Subject: [PATCH] Add a string c'tor to PaymentRequestException.InvalidPaymentURL --- .../bitcoin/protocols/payments/PaymentRequestException.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/src/main/java/com/google/bitcoin/protocols/payments/PaymentRequestException.java b/core/src/main/java/com/google/bitcoin/protocols/payments/PaymentRequestException.java index 0fefa003..45c885c6 100644 --- a/core/src/main/java/com/google/bitcoin/protocols/payments/PaymentRequestException.java +++ b/core/src/main/java/com/google/bitcoin/protocols/payments/PaymentRequestException.java @@ -45,6 +45,10 @@ public class PaymentRequestException extends Exception { public InvalidPaymentURL(Exception e) { super(e); } + + public InvalidPaymentURL(String msg) { + super(msg); + } } public static class InvalidOutputs extends PaymentRequestException {