Package org.infinispan.util
Class UserRaisedFunctionalException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.infinispan.util.UserRaisedFunctionalException
-
- All Implemented Interfaces:
Serializable
public class UserRaisedFunctionalException extends RuntimeException
Thrown when client's code passed as a labda expression in commands such asComputeIfAbsentCommand
raises a exception. We don't want to convert this excepton into aCacheException
but instead just propagate it to the user as it is.- Since:
- 9.1
- Author:
- karesti@redhat.com
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserRaisedFunctionalException(Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UserRaisedFunctionalException
public UserRaisedFunctionalException(Throwable cause)
-
-