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
public class IMAPReferralException extends ProtocolException
A ProtocolException that includes IMAP login referral information.- Since:
- JavaMail 1.5.5
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IMAPReferralException(String s, String url)
Constructs an IMAPReferralException with the specified detail message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getUrl()
Return the IMAP URL in the referral.-
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
-
-
-
-
Method Detail
-
getUrl
public String getUrl()
Return the IMAP URL in the referral.- Returns:
- the IMAP URL
-
-