Package org.bitcoinj.uri
Class RequiredFieldValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.bitcoinj.uri.BitcoinURIParseException
-
- org.bitcoinj.uri.RequiredFieldValidationException
-
- All Implemented Interfaces:
java.io.Serializable
public class RequiredFieldValidationException extends BitcoinURIParseException
Exception to provide the following to
BitcoinURI
:- Provision of parsing error messages
This exception occurs when a required field is detected (under the BIP21 rules) and fails to pass the associated test (such as
req-expires
being out of date), or the required field is unknown to this version of the client in which case it should fail for security reasons.- Since:
- 0.3.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RequiredFieldValidationException(java.lang.String s)
RequiredFieldValidationException(java.lang.String s, java.lang.Throwable throwable)
-