1. /*
  2. * @(#)InvalidName.java 1.13 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 org.omg.CORBA.ORBPackage;
  11. /**
  12. * The <code>InvalidName</code> exception is raised when
  13. * <code>ORB.resolve_initial_references</code> is passed a name
  14. * for which there is no initial reference.
  15. *
  16. * @see org.omg.CORBA.ORB#resolve_initial_references(String)
  17. * @version 1.6, 03/18/98
  18. * @since JDK1.2
  19. */
  20. public class InvalidName extends org.omg.CORBA.UserException {
  21. /**
  22. * Constructs an <code>InvalidName</code> exception with no reason message.
  23. */
  24. public InvalidName() {
  25. super();
  26. }
  27. /**
  28. * Constructs an <code>InvalidName</code> exception with the specified
  29. * reason message.
  30. * @param reason the String containing a reason message
  31. */
  32. public InvalidName(String reason) {
  33. super(reason);
  34. }
  35. }