1. /*
  2. * @(#)MalformedLinkException.java 1.7 03/12/19
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package javax.naming;
  8. /**
  9. * This exception is thrown when a malformed link was encountered while
  10. * resolving or constructing a link.
  11. * <p>
  12. * Synchronization and serialization issues that apply to LinkException
  13. * apply directly here.
  14. *
  15. * @author Rosanna Lee
  16. * @author Scott Seligman
  17. * @version 1.7 03/12/19
  18. *
  19. * @see LinkRef#getLinkName
  20. * @see LinkRef
  21. * @since 1.3
  22. */
  23. public class MalformedLinkException extends LinkException {
  24. /**
  25. * Constructs a new instance of MalformedLinkException with an explanation
  26. * All the other fields are initialized to null.
  27. * @param explanation A possibly null string containing additional
  28. * detail about this exception.
  29. */
  30. public MalformedLinkException(String explanation) {
  31. super(explanation);
  32. }
  33. /**
  34. * Constructs a new instance of Malformed LinkException.
  35. * All fields are initialized to null.
  36. */
  37. public MalformedLinkException() {
  38. super();
  39. }
  40. /**
  41. * Use serialVersionUID from JNDI 1.1.1 for interoperability
  42. */
  43. private static final long serialVersionUID = -3066740437737830242L;
  44. }