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