1. /*
  2. * @(#)TimeLimitExceededException.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. import javax.naming.Name;
  12. /**
  13. * This exception is thrown when a method
  14. * does not terminate within the specified time limit.
  15. * This can happen, for example, if the user specifies that
  16. * the method should take no longer than 10 seconds, and the
  17. * method fails to complete with 10 seconds.
  18. *
  19. * <p> Synchronization and serialization issues that apply to NamingException
  20. * apply directly here.
  21. *
  22. * @author Rosanna Lee
  23. * @author Scott Seligman
  24. * @version 1.4 00/02/02
  25. *
  26. * @since 1.3
  27. */
  28. public class TimeLimitExceededException extends LimitExceededException {
  29. /**
  30. * Constructs a new instance of TimeLimitExceededException.
  31. * All fields default to null.
  32. */
  33. public TimeLimitExceededException() {
  34. super();
  35. }
  36. /**
  37. * Constructs a new instance of TimeLimitExceededException
  38. * using the argument supplied.
  39. * @param explanation possibly null detail about this exception.
  40. * @see java.lang.Throwable#getMessage
  41. */
  42. public TimeLimitExceededException(String explanation) {
  43. super(explanation);
  44. }
  45. /**
  46. * Use serialVersionUID from JNDI 1.1.1 for interoperability
  47. */
  48. private static final long serialVersionUID = -3597009011385034696L;
  49. }