com.google.bitcoin.core
Class PrunedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.google.bitcoin.core.PrunedException
All Implemented Interfaces:
Serializable

public class PrunedException
extends Exception

PrunedException is thrown in cases where a fully verifying node has deleted (pruned) old block data that turned out to be necessary for handling a re-org. Normally this should never happen unless you're playing with the testnet as the pruning parameters should be set very conservatively, such that an absolutely enormous re-org would be required to trigger it.

See Also:
Serialized Form

Constructor Summary
PrunedException(Sha256Hash hash)
           
 
Method Summary
 Sha256Hash getHash()
           
 
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

PrunedException

public PrunedException(Sha256Hash hash)
Method Detail

getHash

public Sha256Hash getHash()


Copyright © 2014. All rights reserved.