## Uses of Class
javax.management.relation.RelationException

- Packages that use RelationException
  Package | Description
  --- | ---
  javax.management.relation | Provides the definition of the Relation Service.

- - ### Uses of RelationException in javax.management.relation

    Subclasses of RelationException in javax.management.relation
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `InvalidRelationIdException` This exception is raised when relation id provided for a relation is already used.
    `class` | `InvalidRelationServiceException` This exception is raised when an invalid Relation Service is provided.
    `class` | `InvalidRelationTypeException` Invalid relation type.
    `class` | `InvalidRoleInfoException` This exception is raised when, in a role info, its minimum degree is greater than its maximum degree.
    `class` | `InvalidRoleValueException` Role value is invalid.
    `class` | `RelationNotFoundException` This exception is raised when there is no relation for a given relation id in a Relation Service.
    `class` | `RelationServiceNotRegisteredException` This exception is raised when an access is done to the Relation Service and that one is not registered.
    `class` | `RelationTypeNotFoundException` This exception is raised when there is no relation type with given name in Relation Service.
    `class` | `RoleInfoNotFoundException` This exception is raised when there is no role info with given name in a given relation type.
    `class` | `RoleNotFoundException` This exception is raised when a role in a relation does not exist, or is not readable, or is not settable.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.