javax.cache
Class CachingShutdownException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.cache.CacheException
                  extended by javax.cache.CachingShutdownException
All Implemented Interfaces:
Serializable

public class CachingShutdownException
extends CacheException

Thrown to indicate an exception has occurred in an aggregate Caching shutdown procedure.

Since:
1.0
See Also:
Serialized Form

Constructor Summary
CachingShutdownException(Map<CacheManager,Exception> failures)
          Constructs a new CachingShutdownException with the specified list of shutdown failures.
 
Method Summary
 Map<CacheManager,Exception> getFailures()
          Return the set of CacheManagers that failed during shutdown and the associated thrown exceptions.
 
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

CachingShutdownException

public CachingShutdownException(Map<CacheManager,Exception> failures)
Constructs a new CachingShutdownException with the specified list of shutdown failures.

Parameters:
failures - a map containing the thrown exceptions
Method Detail

getFailures

public Map<CacheManager,Exception> getFailures()
Return the set of CacheManagers that failed during shutdown and the associated thrown exceptions.

Returns:
the set of thrown exceptions


Copyright © 2012. All Rights Reserved.