Class BackupFailureException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.infinispan.commons.CacheException
org.infinispan.remoting.RpcException
org.infinispan.xsite.BackupFailureException
All Implemented Interfaces:
Serializable

public class BackupFailureException extends RpcException
Exception to be used to signal failures to backup to remote sites.
Since:
5.2
Author:
Mircea Markus
See Also:
  • Constructor Details

    • BackupFailureException

      public BackupFailureException()
      Empty constructor, used for generic backup exceptions
    • BackupFailureException

      public BackupFailureException(String cacheName)
      Constructor used to indicate a cache failure. Use Throwable.addSuppressed(Throwable) to add site-specific failures
      Parameters:
      cacheName - the name of the cache
    • BackupFailureException

      public BackupFailureException(String siteName, Throwable throwable)
      Constructor used to indicate a cache failure related to a site. Should be added to an instance of BackupFailureException created with the BackupFailureException(java.lang.String) constructor.
      Parameters:
      siteName - the name of the site which caused the failure
      throwable - the cause of the failure
  • Method Details