com.google.bitcoin.uri
Class RequiredFieldValidationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.google.bitcoin.uri.BitcoinURIParseException
              extended by com.google.bitcoin.uri.RequiredFieldValidationException
All Implemented Interfaces:
Serializable

public class RequiredFieldValidationException
extends BitcoinURIParseException

Exception to provide the following to BitcoinURI:

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
RequiredFieldValidationException(String s)
           
RequiredFieldValidationException(String s, Throwable throwable)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RequiredFieldValidationException

public RequiredFieldValidationException(String s)

RequiredFieldValidationException

public RequiredFieldValidationException(String s,
                                        Throwable throwable)


Copyright © 2014. All rights reserved.