java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sun.tools.attach.AttachNotSupportedException
- All Implemented Interfaces:
Serializable
Thrown by
VirtualMachine.attach
when attempting to attach to a Java virtual machine
for which a compatible AttachProvider
does not exist. It is also thrown by AttachProvider.attachVirtualMachine
if the provider attempts to
attach to a Java virtual machine with which it not comptatible.- Since:
- 1.6
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs anAttachNotSupportedException
with no detail message.Constructs anAttachNotSupportedException
with the specified detail message. -
Method Summary
Methods declared in class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AttachNotSupportedException
public AttachNotSupportedException()Constructs anAttachNotSupportedException
with no detail message. -
AttachNotSupportedException
Constructs anAttachNotSupportedException
with the specified detail message.- Parameters:
s
- the detail message.
-