Uses of Class javax.management.relation.RelationTypeNotFoundException (Java Platform SE 8 )
Date: 2026-06-25

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

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

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

    Methods in javax.management.relation that throw RelationTypeNotFoundException
    Modifier and Type | Method and Description
    --- | ---
    `void` | RelationServiceMBean.`addRelation(ObjectName relationObjectName)` Adds an MBean created by the user (and registered by him in the MBean Server) as a relation in the Relation Service.
    `void` | RelationService.`addRelation(ObjectName relationObjectName)` Adds an MBean created by the user (and registered by him in the MBean Server) as a relation in the Relation Service.
    `Integer` | RelationServiceMBean.`checkRoleReading(String roleName, String relationTypeName)` Checks if given Role can be read in a relation of the given type.
    `Integer` | RelationService.`checkRoleReading(String roleName, String relationTypeName)` Checks if given Role can be read in a relation of the given type.
    `Integer` | RelationServiceMBean.`checkRoleWriting(Role role, String relationTypeName, Boolean initFlag)` Checks if given Role can be set in a relation of given type.
    `Integer` | RelationService.`checkRoleWriting(Role role, String relationTypeName, Boolean initFlag)` Checks if given Role can be set in a relation of given type.
    `void` | RelationServiceMBean.`createRelation(String relationId, String relationTypeName, RoleList roleList)` Creates a simple relation (represented by a RelationSupport object) of given relation type, and adds it in the Relation Service.
    `void` | RelationService.`createRelation(String relationId, String relationTypeName, RoleList roleList)` Creates a simple relation (represented by a RelationSupport object) of given relation type, and adds it in the Relation Service.
    `List<String>` | RelationServiceMBean.`findRelationsOfType(String relationTypeName)` Returns the relation ids for relations of the given type.
    `List<String>` | RelationService.`findRelationsOfType(String relationTypeName)` Returns the relation ids for relations of the given type.
    `RoleInfo` | RelationServiceMBean.`getRoleInfo(String relationTypeName, String roleInfoName)` Retrieves role info for given role of a given relation type.
    `RoleInfo` | RelationService.`getRoleInfo(String relationTypeName, String roleInfoName)` Retrieves role info for given role name of a given relation type.
    `List<RoleInfo>` | RelationServiceMBean.`getRoleInfos(String relationTypeName)` Retrieves list of role infos (RoleInfo objects) of a given relation type.
    `List<RoleInfo>` | RelationService.`getRoleInfos(String relationTypeName)` Retrieves list of role infos (RoleInfo objects) of a given relation type.
    `void` | RelationSupport.`handleMBeanUnregistration(ObjectName objectName, String roleName)` Callback used by the Relation Service when a MBean referenced in a role is unregistered.
    `void` | Relation.`handleMBeanUnregistration(ObjectName objectName, String roleName)` Callback used by the Relation Service when a MBean referenced in a role is unregistered.
    `void` | RelationServiceMBean.`removeRelationType(String relationTypeName)` Removes given relation type from Relation Service.
    `void` | RelationService.`removeRelationType(String relationTypeName)` Removes given relation type from Relation Service.
    `void` | RelationSupport.`setRole(Role role)` Sets the given role.
    `void` | Relation.`setRole(Role role)` Sets the given role.
    `void` | RelationServiceMBean.`setRole(String relationId, Role role)` Sets the given role in given relation.
    `RoleResult` | RelationSupport.`setRoles(RoleList list)` Sets the given roles.
    `RoleResult` | Relation.`setRoles(RoleList roleList)` Sets the given roles.

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.