1. /*
  2. * @(#)InvalidDnDOperationException.java 1.9 00/02/02
  3. *
  4. * Copyright 1997-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package java.awt.dnd;
  11. /**
  12. * This exception is thrown by various methods in the java.awt.dnd package.
  13. * It is usually thrown to indicate that the target in question is unable
  14. * to undertake the requested operation that the present time, since the
  15. * undrelying DnD system is not in the appropriate state.
  16. *
  17. * @version 1.9, 02/02/00
  18. * @since 1.2
  19. */
  20. public class InvalidDnDOperationException extends IllegalStateException {
  21. static private String dft_msg = "The operation requested cannot be performed by the DnD system since it is not in the appropriate state";
  22. /**
  23. * Create a default Exception
  24. */
  25. public InvalidDnDOperationException() { super(dft_msg); }
  26. /**
  27. * Create an Exception with its own descriptive message
  28. * <P>
  29. * @param msg the detail message
  30. */
  31. public InvalidDnDOperationException(String msg) { super(msg); }
  32. }