Class ComputationErrorException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ComputationErrorException
    extends java.lang.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
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getComputation()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • computation

        public java.lang.Object computation
    • Constructor Detail

      • ComputationErrorException

        public ComputationErrorException()
      • ComputationErrorException

        public ComputationErrorException​(java.lang.Object computation)
    • Method Detail

      • getComputation

        public java.lang.Object getComputation()