クラスcom.sun.tools.attach.AttachNotSupportedException
の使用

AttachNotSupportedExceptionを使用するパッケージ 
パッケージ 説明
com.sun.tools.attach
Java™仮想マシンにアタッチするためのAPIを提供します。
com.sun.tools.attach.spi
このパッケージを直接使用する必要があるのは、新しい接続プロバイダを定義する開発者だけです。