Класс AttachNotSupportedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sun.tools.attach.AttachNotSupportedException
- Все реализуемые интерфейсы:
Serializable
public class AttachNotSupportedException extends Exception
Выбрасывается методом
VirtualMachine.attach при попытке подключиться к виртуальной машине Java, для которой не существует совместимого AttachProvider. Также выбрасывается методом AttachProvider.attachVirtualMachine, если поставщик пытается подключиться к виртуальной машине Java, с которой он не совместим.- С момента:
- 1.6
- См. также:
Краткое описание конструкторов
| Конструктор | Описание |
|---|---|
AttachNotSupportedException() |
Создает AttachNotSupportedException без сообщения об ошибке. |
AttachNotSupportedException |
Создает AttachNotSupportedException со строкой сообщения об ошибке. |
Краткое описание методов
Методы, объявленные в классе java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Подробное описание конструкторов
AttachNotSupportedException
public AttachNotSupportedException()
Создает
AttachNotSupportedException без сообщения об ошибке.AttachNotSupportedException
public AttachNotSupportedException(String s)
Создает
AttachNotSupportedException со строкой сообщения об ошибке.- Параметры:
-
s- сообщение об ошибке.
© 1993, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://download.java.net/java/early_access/jdk24/docs/api/jdk.attach/com/sun/tools/attach/AttachNotSupportedException.html