1. /*
  2. * @(#)InvalidNameException.java 1.4 00/02/02
  3. *
  4. * Copyright 1999, 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 javax.naming;
  11. /**
  12. * This exception indicates that the name being specified does
  13. * not conform to the naming syntax of a naming system.
  14. * This exception is thrown by any of the methods that does name
  15. * parsing (such as those in Context, DirContext, CompositeName and CompoundName).
  16. * <p>
  17. * Synchronization and serialization issues that apply to NamingException
  18. * apply directly here.
  19. *
  20. * @author Rosanna Lee
  21. * @author Scott Seligman
  22. * @version 1.4 00/02/02
  23. *
  24. * @see Context
  25. * @see javax.naming.directory.DirContext
  26. * @see CompositeName
  27. * @see CompoundName
  28. * @see NameParser
  29. * @since 1.3
  30. */
  31. public class InvalidNameException extends NamingException {
  32. /**
  33. * Constructs an instance of InvalidNameException using an
  34. * explanation of the problem.
  35. * All other fields are initialized to null.
  36. * @param explanation A possibly null message explaining the problem.
  37. * @see java.lang.Throwable#getMessage
  38. */
  39. public InvalidNameException(String explanation) {
  40. super(explanation);
  41. }
  42. /**
  43. * Constructs an instance of InvalidNameException with
  44. * all fields set to null.
  45. */
  46. public InvalidNameException() {
  47. super();
  48. }
  49. /**
  50. * Use serialVersionUID from JNDI 1.1.1 for interoperability
  51. */
  52. private static final long serialVersionUID = -8370672380823801105L;
  53. }