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