Class ComputationErrorException

  • All Implemented Interfaces:
    Serializable

    public class ComputationErrorException
    extends RuntimeException
    This exception should be thrown from the Computable.compute(Object) method if the returned computation should NOT be kept in the cache. The actual value returned by the getComputation() should be returned to the caller, but that value should be considered volatile and should NOT be kept in the cache
    Author:
    jwells
    See Also:
    Serialized Form
    • Field Detail

      • computation

        public Object computation
    • Constructor Detail

      • ComputationErrorException

        public ComputationErrorException()
      • ComputationErrorException

        public ComputationErrorException​(Object computation)
    • Method Detail

      • getComputation

        public Object getComputation()