Package net.sf.ehcache.cluster
Class ClusterSchemeNotAvailableException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- net.sf.ehcache.CacheException
-
- net.sf.ehcache.cluster.ClusterSchemeNotAvailableException
-
- All Implemented Interfaces:
java.io.Serializable
public class ClusterSchemeNotAvailableException extends CacheException
Exception type that is thrown when requesting for a certain type of ClusterScheme and its not available.- Author:
- Abhishek Sanoujam
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClusterSchemeNotAvailableException(ClusterScheme unavailableClusterScheme)Constructor accepting theClusterSchemethat is unavailableClusterSchemeNotAvailableException(ClusterScheme unavailableClusterScheme, java.lang.String message)Constructor accepting theClusterSchemethat is unavailable and messageClusterSchemeNotAvailableException(ClusterScheme unavailableClusterScheme, java.lang.String message, java.lang.Throwable cause)Constructor accepting theClusterSchemethat is unavailable, message and root causeClusterSchemeNotAvailableException(ClusterScheme unavailableClusterScheme, java.lang.Throwable cause)Constructor accepting theClusterSchemethat is unavailable and root cause
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterSchemegetUnavailableClusterScheme()Return the unavailable ClusterScheme this instance is associated with
-
-
-
Constructor Detail
-
ClusterSchemeNotAvailableException
public ClusterSchemeNotAvailableException(ClusterScheme unavailableClusterScheme)
Constructor accepting theClusterSchemethat is unavailable
-
ClusterSchemeNotAvailableException
public ClusterSchemeNotAvailableException(ClusterScheme unavailableClusterScheme, java.lang.String message, java.lang.Throwable cause)
Constructor accepting theClusterSchemethat is unavailable, message and root cause- Parameters:
message-cause-
-
ClusterSchemeNotAvailableException
public ClusterSchemeNotAvailableException(ClusterScheme unavailableClusterScheme, java.lang.String message)
Constructor accepting theClusterSchemethat is unavailable and message- Parameters:
message-
-
ClusterSchemeNotAvailableException
public ClusterSchemeNotAvailableException(ClusterScheme unavailableClusterScheme, java.lang.Throwable cause)
Constructor accepting theClusterSchemethat is unavailable and root cause- Parameters:
cause-
-
-
Method Detail
-
getUnavailableClusterScheme
public ClusterScheme getUnavailableClusterScheme()
Return the unavailable ClusterScheme this instance is associated with- Returns:
- Returns the unavailable ClusterScheme this instance is associated with
-
-