You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
1.1 KiB
59 lines
1.1 KiB
/*
|
|
* Copyright (c) 2004, 2008, Oracle and/or its affiliates. All rights reserved.
|
|
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*/
|
|
|
|
package java.lang.instrument;
|
|
|
|
/**
|
|
* Thrown by an implementation of
|
|
* {@link java.lang.instrument.Instrumentation#redefineClasses Instrumentation.redefineClasses}
|
|
* when one of the specified classes cannot be modified.
|
|
*
|
|
* @see java.lang.instrument.Instrumentation#redefineClasses
|
|
* @since 1.5
|
|
*/
|
|
public class UnmodifiableClassException extends Exception {
|
|
private static final long serialVersionUID = 1716652643585309178L;
|
|
|
|
/**
|
|
* Constructs an <code>UnmodifiableClassException</code> with no
|
|
* detail message.
|
|
*/
|
|
public
|
|
UnmodifiableClassException() {
|
|
super();
|
|
}
|
|
|
|
/**
|
|
* Constructs an <code>UnmodifiableClassException</code> with the
|
|
* specified detail message.
|
|
*
|
|
* @param s the detail message.
|
|
*/
|
|
public
|
|
UnmodifiableClassException(String s) {
|
|
super(s);
|
|
}
|
|
}
|