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