1 /*2 * @(#)UnmodifiableClassException.java 1.2 04/03/013 *4 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 5 */6 7 package java.lang.instrument;8 9 /**10 * Thrown by an implementation of11 * {@link java.lang.instrument.Instrumentation#redefineClasses Instrumentation.redefineClasses}12 * when one of the specified classes cannot be modified.13 *14 * @see java.lang.instrument.Instrumentation#redefineClasses15 * @since JDK1.516 */17 public class UnmodifiableClassException extends Exception {18 /**19 * Constructs an <code>UnmodifiableClassException</code> with no 20 * detail message. 21 */22 public23 UnmodifiableClassException() {24 super();25 }26 27 /**28 * Constructs an <code>UnmodifiableClassException</code> with the 29 * specified detail message. 30 *31 * @param s the detail message.32 */33 public34 UnmodifiableClassException(String s) {35 super(s);36 }37 }38