Class DistributedCaffeineException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.github.oberhoff.distributedcaffeine.DistributedCaffeineException
-
- All Implemented Interfaces:
Serializable
public final class DistributedCaffeineException extends RuntimeException
Unchecked runtime exception thrown by cache instances. In most cases it is just a wrapper around a checked exception.- Author:
- Andreas Oberhoff
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DistributedCaffeineException(String message)
Constructs a newDistributedCaffeineException
with the specified detail messageDistributedCaffeineException(String message, Throwable cause)
Constructs a newDistributedCaffeineException
with the specified detail message and cause.DistributedCaffeineException(Throwable cause)
Constructs a newDistributedCaffeineException
with the specified 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
-
DistributedCaffeineException
public DistributedCaffeineException(String message)
Constructs a newDistributedCaffeineException
with the specified detail message- Parameters:
message
- the detail message
-
DistributedCaffeineException
public DistributedCaffeineException(Throwable cause)
Constructs a newDistributedCaffeineException
with the specified cause.- Parameters:
cause
- the cause
-
DistributedCaffeineException
public DistributedCaffeineException(String message, Throwable cause)
Constructs a newDistributedCaffeineException
with the specified detail message and cause.- Parameters:
message
- the detail messagecause
- the cause
-
-