Uses of Class javax.management.relation.InvalidRelationIdException (Java SE 22 & JDK 22)
Description: use: module: java.management, package: javax.management.relation, class: InvalidRelationIdException

# Uses of Class
javax.management.relation.InvalidRelationIdException

Packages that use InvalidRelationIdException
Package
Description
javax.management.relation
Provides the definition of the Relation Service.

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

  Methods in javax.management.relation that throw InvalidRelationIdException
  Modifier and Type
  Method
  Description
  `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.
  `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.`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`
  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.