Package com.sun.mail.imap.protocol
Class IMAPReferralException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sun.mail.iap.ProtocolException
com.sun.mail.imap.protocol.IMAPReferralException
- All Implemented Interfaces:
Serializable
A ProtocolException that includes IMAP login referral information.
- Since:
- JavaMail 1.5.5
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIMAPReferralException
(String s, String url) Constructs an IMAPReferralException with the specified detail message. -
Method Summary
Methods inherited from class com.sun.mail.iap.ProtocolException
getResponse
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IMAPReferralException
Constructs an IMAPReferralException with the specified detail message. and URL.- Parameters:
s
- the detail messageurl
- the URL
-
-
Method Details
-
getUrl
Return the IMAP URL in the referral.- Returns:
- the IMAP URL
-