# Uses of Class
com.sun.tools.attach.AttachNotSupportedException

Packages that use AttachNotSupportedException
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.

## Uses of AttachNotSupportedException in com.sun.tools.attach

Methods in com.sun.tools.attach that throw AttachNotSupportedException
Modifier and Type | Method | Description
--- | --- | ---
`static VirtualMachine` | VirtualMachine.`attach​(VirtualMachineDescriptor vmd)` | Attaches to a Java virtual machine.
`static VirtualMachine` | VirtualMachine.`attach​(String id)` | Attaches to a Java virtual machine.

## Uses of AttachNotSupportedException in com.sun.tools.attach.spi

Methods in com.sun.tools.attach.spi that throw AttachNotSupportedException
Modifier and Type | Method | Description
--- | --- | ---
`VirtualMachine` | AttachProvider.`attachVirtualMachine​(VirtualMachineDescriptor vmd)` | Attaches to a Java virtual machine.
`abstract VirtualMachine` | AttachProvider.`attachVirtualMachine​(String id)` | Attaches to a Java virtual machine.