public class SmtpException
public class .SmtpException
This class is used to indicate an error while communicating with an SMTP server
Inheritance:
-
-
Public Methods
- SmtpException(String lastCmd, int errorCode, String errorMsg)
- Create a new Exception
- String toString()
- Convert Exception to String
-
Documentation
This class is used to indicate an error while communicating with an SMTP server.
- SmtpException(String lastCmd, int errorCode, String errorMsg)
- Create a new Exception.
- Parameters:
-
lastCmd - The last command sent before the error was recognized.
errorCode - The errorcode returned by the SMTP server.
errorMsg - The errormessage (from SMTP server).
- String toString()
- Convert Exception to String.
Format is Error while executing cmd <command>: <errorCode> - <errorMessage>.
- Returns:
- String representation of Exception
- This class has no child classes.
- Author:
- Ronald Blaschke <rblasch@cs.bgsu.edu>
- Version:
- 1.0
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.