com.google.bitcoin.uri.OptionalFieldValidationException Maven / Gradle / Ivy
The newest version!
package com.google.bitcoin.uri;
/**
* Exception to provide the following to {@link org.multibit.qrcode.BitcoinURI}:
*
* - Provision of parsing error messages
*
* This exception occurs when an optional field is detected (under the Bitcoin URI scheme) and fails
* to pass the associated test (such as {@code amount} not being a valid number).
*
* @since 0.3.0
*
*/
public class OptionalFieldValidationException extends BitcoinURIParseException {
public OptionalFieldValidationException(String s) {
super(s);
}
public OptionalFieldValidationException(String s, Throwable throwable) {
super(s, throwable);
}
}