1. /*
  2. * @(#)InvalidName.java 1.11 01/11/29
  3. *
  4. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package org.omg.CORBA.ORBPackage;
  8. /**
  9. * The <code>InvalidName</code> exception is raised when
  10. * <code>ORB.resolve_initial_references</code> is passed a name
  11. * for which there is no initial reference.
  12. *
  13. * @see org.omg.CORBA.ORB#resolve_initial_references(String)
  14. * @version 1.6, 03/18/98
  15. * @since JDK1.2
  16. */
  17. public class InvalidName extends org.omg.CORBA.UserException {
  18. /**
  19. * Constructs an <code>InvalidName</code> exception with no reason message.
  20. */
  21. public InvalidName() {
  22. super();
  23. }
  24. /**
  25. * Constructs an <code>InvalidName</code> exception with the specified
  26. * reason message.
  27. * @param reason the String containing a reason message
  28. */
  29. public InvalidName(String reason) {
  30. super(reason);
  31. }
  32. }