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