|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.jscape.inet.smtp.SmtpException
public class SmtpException
SmtpException is thrown by many methods of Smtp class. The methods are masking various exception types into SmtpException, but the event message will be propagated.
In case that the cause for throwing SmtpException is not exception but invalid client operation or server response, SmtpException message will contain textual part of server response.
Constructor Summary | |
---|---|
SmtpException(java.lang.String message)
Creates exception with specified message string. |
|
SmtpException(java.lang.String message,
java.lang.Exception exception)
Creates exception with specified message string and source exception |
Method Summary | |
---|---|
java.lang.Exception |
getException()
Gets source of this exception |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SmtpException(java.lang.String message)
message
- the message of exceptionpublic SmtpException(java.lang.String message, java.lang.Exception exception)
message
- the message of exceptionexception
- the exception which caused this exceptionMethod Detail |
---|
public java.lang.Exception getException()
getException
in interface ExceptionWrapper
|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |