Package javax.cache

Class 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:
  • Constructor Details

    • 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 Details

    • 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
    • toString

      public String toString()
      Returns a short description of this throwable. The result is the concatenation of: If getLocalizedMessage returns null, then just the class name is returned.
      Overrides:
      toString in class Throwable
      Returns:
      a string representation of this throwable.