Class ComputationErrorException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.glassfish.hk2.utilities.cache.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
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • computation

      public Object computation
  • Constructor Details

    • ComputationErrorException

      public ComputationErrorException()
    • ComputationErrorException

      public ComputationErrorException(Object computation)
  • Method Details

    • getComputation

      public Object getComputation()