Class MissingDataException

All Implemented Interfaces:
Serializable

public class MissingDataException extends RuntimeException
Exception thrown when an attempt is made to dereference a value that is not present in the current data store. Normally shouldn't be caught / referenced directly. Requires special handling by Peers.
See Also:
Serialized Form
  • Constructor Details

    • MissingDataException

      public MissingDataException(AStore store, Hash hash)
  • Method Details

    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable
    • getMissingHash

      public Hash getMissingHash()
      Gets the Hash for the missing data
      Returns:
      Hash value
    • getStore

      public AStore getStore()
      Gets the Store for which the missing data exception occurred
      Returns:
      Store instance