Class ComputationErrorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.glassfish.hk2.utilities.cache.ComputationErrorException
-
- All Implemented Interfaces:
java.io.Serializable
public class ComputationErrorException extends java.lang.RuntimeExceptionThis exception should be thrown from theComputable.compute(Object)method if the returned computation should NOT be kept in the cache. The actual value returned by thegetComputation()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
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Objectcomputationprivate static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description ComputationErrorException()ComputationErrorException(java.lang.Object computation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetComputation()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
computation
public java.lang.Object computation
-
-