src/share/classes/com/sun/jdi/VMCannotBeModifiedException.java

Print this page




  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package com.sun.jdi;
  27 
  28 /**
  29  * Thrown to indicate that the operation is invalid because it would
  30  * modify the VM and the VM is read-only.  See {@link VirtualMachine#canBeModified()}.
  31  *
  32  * @author Jim Holmlund
  33  * @since  1.5
  34  */

  35 public class VMCannotBeModifiedException extends UnsupportedOperationException {
  36     private static final long serialVersionUID = -4063879815130164009L;
  37     public VMCannotBeModifiedException() {
  38         super();
  39     }
  40 
  41     public VMCannotBeModifiedException(String s) {
  42         super(s);
  43     }
  44 }


  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package com.sun.jdi;
  27 
  28 /**
  29  * Thrown to indicate that the operation is invalid because it would
  30  * modify the VM and the VM is read-only.  See {@link VirtualMachine#canBeModified()}.
  31  *
  32  * @author Jim Holmlund
  33  * @since  1.5
  34  */
  35 @jdk.Supported
  36 public class VMCannotBeModifiedException extends UnsupportedOperationException {
  37     private static final long serialVersionUID = -4063879815130164009L;
  38     public VMCannotBeModifiedException() {
  39         super();
  40     }
  41 
  42     public VMCannotBeModifiedException(String s) {
  43         super(s);
  44     }
  45 }