1. /*
  2. * @(#)LinkLoopException.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
  13. * a loop was detected will attempting to resolve a link, or an implementation
  14. * specific limit on link counts has been reached.
  15. * <p>
  16. * Synchronization and serialization issues that apply to LinkException
  17. * apply directly here.
  18. *
  19. * @author Rosanna Lee
  20. * @author Scott Seligman
  21. * @version 1.4 00/02/02
  22. *
  23. * @see LinkRef
  24. * @since 1.3
  25. */
  26. public class LinkLoopException extends LinkException {
  27. /**
  28. * Constructs a new instance of LinkLoopException 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. * @see java.lang.Throwable#getMessage
  33. */
  34. public LinkLoopException(String explanation) {
  35. super(explanation);
  36. }
  37. /**
  38. * Constructs a new instance of LinkLoopException.
  39. * All the non-link-related and link-related fields are initialized to null.
  40. */
  41. public LinkLoopException() {
  42. super();
  43. }
  44. /**
  45. * Use serialVersionUID from JNDI 1.1.1 for interoperability
  46. */
  47. private static final long serialVersionUID = -3119189944325198009L;
  48. }