@Test public void testBad_IncorrectAddressType() { try { testObject = new BitcoinURI(TestNet3Params.get(), BitcoinURI.BITCOIN_SCHEME + ":" + MAINNET_GOOD_ADDRESS); fail("Expecting BitcoinURIParseException"); } catch (BitcoinURIParseException e) { assertTrue(e.getMessage().contains("Bad address")); } }
public String getMessage() { return (String) parameterMap.get(FIELD_MESSAGE); }
BitcoinURI { public String getMessage() { return (String) parameterMap.get(FIELD_MESSAGE); } }
BitcoinURI { public String getMessage() { return (String) parameterMap.get(FIELD_MESSAGE); } BitcoinURI(String uri);  BitcoinURI(@Nullable NetworkParameters params, String input); }
BitcoinURI { public String getMessage() { return (String) parameterMap.get(FIELD_MESSAGE); } BitcoinURI(String uri);  BitcoinURI(@Nullable NetworkParameters params, String input); @Nullable Address getAddress(); BigInteger getAmount(); String getLabel(); String getMessage(); String getPaymentRequestUrl(); Object getParameterByName(String name); @Override String toString(); static String convertToBitcoinURI(Address address, BigInteger amount, String label, String message); static String convertToBitcoinURI(String address, @Nullable BigInteger amount, @Nullable String label,
                                             @Nullable String message); }
BitcoinURI { public String getMessage() { return (String) parameterMap.get(FIELD_MESSAGE); } BitcoinURI(String uri);  BitcoinURI(@Nullable NetworkParameters params, String input); @Nullable Address getAddress(); BigInteger getAmount(); String getLabel(); String getMessage(); String getPaymentRequestUrl(); Object getParameterByName(String name); @Override String toString(); static String convertToBitcoinURI(Address address, BigInteger amount, String label, String message); static String convertToBitcoinURI(String address, @Nullable BigInteger amount, @Nullable String label,
                                             @Nullable String message); static final String FIELD_MESSAGE; static final String FIELD_LABEL; static final String FIELD_AMOUNT; static final String FIELD_ADDRESS; static final String FIELD_PAYMENT_REQUEST_URL; static final String BITCOIN_SCHEME; }