# Uses of Package
com.sun.tools.attach

- Packages that use com.sun.tools.attach
  Package | Description
  --- | ---
  com.sun.tools.attach | Provides the API to attach to a Java™ virtual machine.
  com.sun.tools.attach.spi | Only developers who are defining new attach providers should need to make direct use of this package.

- Classes in com.sun.tools.attach used by com.sun.tools.attach
  Class | Description
  --- | ---
  AgentInitializationException | The exception thrown when an agent fails to initialize in the target Java virtual machine.
  AgentLoadException | The exception thrown when an agent cannot be loaded into the target Java virtual machine.
  AttachNotSupportedException | Thrown by `VirtalMachine.attach` when attempting to attach to a Java virtual machine for which a compatible `AttachProvider` does not exist.
  VirtualMachine | A Java virtual machine.
  VirtualMachineDescriptor | Describes a Java virtual machine.

- Classes in com.sun.tools.attach used by com.sun.tools.attach.spi
  Class | Description
  --- | ---
  AttachNotSupportedException | Thrown by `VirtalMachine.attach` when attempting to attach to a Java virtual machine for which a compatible `AttachProvider` does not exist.
  VirtualMachine | A Java virtual machine.
  VirtualMachineDescriptor | Describes a Java virtual machine.