@Test public void testBad_IncorrectAddressType() { try { testObject = new NubitsURI(MainNetParams.get(), NubitsURI.NUBITS_SCHEME + ":" + MAINNET_BAD_ADDRESS); fail("Expecting NubitsURIParseException"); } catch (NubitsURIParseException e) { assertTrue(e.getMessage().contains("Bad address")); } }
public String getMessage() { return (String) parameterMap.get(FIELD_MESSAGE); }
NubitsURI { public String getMessage() { return (String) parameterMap.get(FIELD_MESSAGE); } }
NubitsURI { public String getMessage() { return (String) parameterMap.get(FIELD_MESSAGE); } NubitsURI(String uri);  NubitsURI(@Nullable NetworkParameters params, String input); }
NubitsURI { public String getMessage() { return (String) parameterMap.get(FIELD_MESSAGE); } NubitsURI(String uri);  NubitsURI(@Nullable NetworkParameters params, String input); @Nullable Address getAddress(); Monetary getAmount(); String getLabel(); String getMessage(); String getPaymentRequestUrl(); List<String> getPaymentRequestUrls(); Object getParameterByName(String name); @Override String toString(); static String convertToNubitsURI(Address address, Coin amount, String label, String message); static String convertToNubitsURI(String address, @Nullable Coin amount, @Nullable String label,
            @Nullable String message); }
NubitsURI { public String getMessage() { return (String) parameterMap.get(FIELD_MESSAGE); } NubitsURI(String uri);  NubitsURI(@Nullable NetworkParameters params, String input); @Nullable Address getAddress(); Monetary getAmount(); String getLabel(); String getMessage(); String getPaymentRequestUrl(); List<String> getPaymentRequestUrls(); Object getParameterByName(String name); @Override String toString(); static String convertToNubitsURI(Address address, Coin amount, String label, String message); static String convertToNubitsURI(String address, @Nullable Coin 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; @Deprecated
    static final String NUBITS_SCHEME; }