1. /*
  2. * @(#)MalformedLinkException.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 is thrown when a malformed link was encountered while
  13. * resolving or constructing a link.
  14. * <p>
  15. * Synchronization and serialization issues that apply to LinkException
  16. * apply directly here.
  17. *
  18. * @author Rosanna Lee
  19. * @author Scott Seligman
  20. * @version 1.4 00/02/02
  21. *
  22. * @see LinkRef#getLinkName
  23. * @see LinkRef
  24. * @since 1.3
  25. */
  26. public class MalformedLinkException extends LinkException {
  27. /**
  28. * Constructs a new instance of MalformedLinkException with an explanation
  29. * All the other fields are initialized to null.
  30. * @param explanation A possibly null string containing additional
  31. * detail about this exception.
  32. */
  33. public MalformedLinkException(String explanation) {
  34. super(explanation);
  35. }
  36. /**
  37. * Constructs a new instance of Malformed LinkException.
  38. * All fields are initialized to null.
  39. */
  40. public MalformedLinkException() {
  41. super();
  42. }
  43. /**
  44. * Use serialVersionUID from JNDI 1.1.1 for interoperability
  45. */
  46. private static final long serialVersionUID = -3066740437737830242L;
  47. }