VMCannotBeModifiedException (Java Debug Interface )
Keywords: com.sun.jdi.VMCannotBeModifiedException class
Date: 2015-07-19

com.sun.jdi

## Class VMCannotBeModifiedException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - java.lang.UnsupportedOperationException
        - - com.sun.jdi.VMCannotBeModifiedException

- All Implemented Interfaces:
    Serializable

      @Exported
      public class VMCannotBeModifiedException
      extends UnsupportedOperationException

  Thrown to indicate that the operation is invalid because it would modify the VM and the VM is read-only. See `VirtualMachine.canBeModified()`.
  Since:
    1.5
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `VMCannotBeModifiedException()`
    `VMCannotBeModifiedException(String s)`

  - ### Method Summary

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### VMCannotBeModifiedException

          public VMCannotBeModifiedException()

    - #### VMCannotBeModifiedException

          public VMCannotBeModifiedException(String s)

Copyright © 1999, 2015, Oracle and/or its affiliates. All rights reserved.