ehcache

net.sf.ehcache.cluster
Class ClusterSchemeNotAvailableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sf.ehcache.CacheException
                  extended by net.sf.ehcache.cluster.ClusterSchemeNotAvailableException
All Implemented Interfaces:
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
ClusterSchemeNotAvailableException(ClusterScheme unavailableClusterScheme)
          Constructor accepting the ClusterScheme that is unavailable
ClusterSchemeNotAvailableException(ClusterScheme unavailableClusterScheme, String message)
          Constructor accepting the ClusterScheme that is unavailable and message
ClusterSchemeNotAvailableException(ClusterScheme unavailableClusterScheme, String message, Throwable cause)
          Constructor accepting the ClusterScheme that is unavailable, message and root cause
ClusterSchemeNotAvailableException(ClusterScheme unavailableClusterScheme, Throwable cause)
          Constructor accepting the ClusterScheme that is unavailable and root cause
 
Method Summary
 ClusterScheme getUnavailableClusterScheme()
          Return the unavailable ClusterScheme this instance is associated with
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClusterSchemeNotAvailableException

public ClusterSchemeNotAvailableException(ClusterScheme unavailableClusterScheme)
Constructor accepting the ClusterScheme that is unavailable


ClusterSchemeNotAvailableException

public ClusterSchemeNotAvailableException(ClusterScheme unavailableClusterScheme,
                                          String message,
                                          Throwable cause)
Constructor accepting the ClusterScheme that is unavailable, message and root cause

Parameters:
message -
cause -

ClusterSchemeNotAvailableException

public ClusterSchemeNotAvailableException(ClusterScheme unavailableClusterScheme,
                                          String message)
Constructor accepting the ClusterScheme that is unavailable and message

Parameters:
message -

ClusterSchemeNotAvailableException

public ClusterSchemeNotAvailableException(ClusterScheme unavailableClusterScheme,
                                          Throwable cause)
Constructor accepting the ClusterScheme that 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

ehcache

Copyright 2001-2017, Terracotta, Inc.