RoleException (Apache Geode 1.4.0)
Date: 2018-01-29

org.apache.geode.cache

## Class RoleException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - org.apache.geode.GemFireException
        - - org.apache.geode.cache.CacheRuntimeException
          - - org.apache.geode.cache.RoleException

- All Implemented Interfaces:
    java.io.Serializable
  Direct Known Subclasses:
    RegionRoleException

  Deprecated.
  this feature is scheduled to be removed

      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`.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RoleException()` Deprecated. Creates a new instance of `RoleException` without detail message.
    `RoleException(java.lang.String msg)` Deprecated. Constructs an instance of `RoleException` with the specified detail message.
    `RoleException(java.lang.String msg, java.lang.Throwable cause)` Deprecated. Constructs an instance of `RoleException` with the specified detail message and cause.
    `RoleException(java.lang.Throwable cause)` Deprecated. Constructs an instance of `RoleException` with the specified cause.

  - ### Method Summary

    - ### Methods inherited from class org.apache.geode.cache.CacheRuntimeException

      `toString`

    - ### Methods inherited from class org.apache.geode.GemFireException

      `getRootCause`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### RoleException

          public RoleException()

      Deprecated.
      Creates a new instance of `RoleException` without detail message.

    - #### RoleException

          public RoleException(java.lang.String msg)

      Deprecated.
      Constructs an instance of `RoleException` with the specified detail message.
      Parameters:
        `msg` - the detail message

    - #### RoleException

          public RoleException(java.lang.String msg,
                               java.lang.Throwable cause)

      Deprecated.
      Constructs an instance of `RoleException` with the specified detail message and cause.
      Parameters:
        `msg` - the detail message
        `cause` - the causal Throwable

    - #### RoleException

          public RoleException(java.lang.Throwable cause)

      Deprecated.
      Constructs an instance of `RoleException` with the specified cause.
      Parameters:
        `cause` - the causal Throwable