1. /*
  2. * Copyright 2002,2004 The Apache Software Foundation
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. *
  16. */
  17. package org.apache.tools.mail;
  18. import java.io.IOException;
  19. /**
  20. * Specialized IOException that get thrown if SMPT's QUIT command fails.
  21. *
  22. * <p>This seems to happen with some version of MS Exchange that
  23. * doesn't respond with a 221 code immediately. See <a
  24. * href="http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5273">Bug
  25. * report 5273</a>.</p>
  26. *
  27. * @version $Revision: 1.5.2.4 $
  28. */
  29. public class ErrorInQuitException extends IOException {
  30. /**
  31. * Initialise from an IOException
  32. *
  33. * @param e the IO Exception.
  34. */
  35. public ErrorInQuitException(IOException e) {
  36. super(e.getMessage());
  37. }
  38. }