GemFire 7.0

com.gemstone.gemfire.cache
Class RoleException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.gemstone.gemfire.GemFireException
                  extended by com.gemstone.gemfire.cache.CacheRuntimeException
                      extended by com.gemstone.gemfire.cache.RoleException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RegionRoleException

public abstract class RoleException
extends CacheRuntimeException

RoleException is the superclass of those exceptions that can be thrown to indicate a reliability failure on one or more regions that have been configured with required roles using MembershipAttributes.

Since:
5.0
See Also:
Serialized Form

Constructor Summary
RoleException()
          Creates a new instance of RoleException without detail message.
RoleException(String msg)
          Constructs an instance of RoleException with the specified detail message.
RoleException(String msg, Throwable cause)
          Constructs an instance of RoleException with the specified detail message and cause.
RoleException(Throwable cause)
          Constructs an instance of RoleException with the specified cause.
 
Method Summary
 
Methods inherited from class com.gemstone.gemfire.cache.CacheRuntimeException
toString
 
Methods inherited from class com.gemstone.gemfire.GemFireException
getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RoleException

public RoleException()
Creates a new instance of RoleException without detail message.


RoleException

public RoleException(String msg)
Constructs an instance of RoleException with the specified detail message.

Parameters:
msg - the detail message

RoleException

public RoleException(String msg,
                     Throwable cause)
Constructs an instance of RoleException with the specified detail message and cause.

Parameters:
msg - the detail message
cause - the causal Throwable

RoleException

public RoleException(Throwable cause)
Constructs an instance of RoleException with the specified cause.

Parameters:
cause - the causal Throwable

GemFire 7.0

Copyright © 1997-2012 VMware, Inc. All rights reserved.