1 /*2 * @(#)IllegalClassFormatException.java 1.2 03/08/163 *4 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 5 */6 7 package java.lang.instrument;8 9 /*10 * Copyright 2003 Wily Technology, Inc.11 */12 13 /**14 * Thrown by an implementation of15 * {@link java.lang.instrument.ClassFileTransformer#transform ClassFileTransformer.transform}16 * when its input parameters are invalid. 17 * This may occur either because the initial class file bytes were 18 * invalid or a previously applied transform corrupted the bytes.19 *20 * @see java.lang.instrument.ClassFileTransformer#transform21 * @since JDK1.522 */23 public class IllegalClassFormatException extends Exception {24 /**25 * Constructs an <code>IllegalClassFormatException</code> with no 26 * detail message. 27 */28 public29 IllegalClassFormatException() {30 super();31 }32 33 /**34 * Constructs an <code>IllegalClassFormatException</code> with the 35 * specified detail message. 36 *37 * @param s the detail message.38 */39 public40 IllegalClassFormatException(String s) {41 super(s);42 }43 }44