- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- jakarta.mail.MessagingException
-
- jakarta.mail.AuthenticationFailedException
-
- org.eclipse.angus.mail.imap.ReferralException
-
- All Implemented Interfaces:
java.io.Serializable
public class ReferralException extends jakarta.mail.AuthenticationFailedExceptionA special kind of AuthenticationFailedException that indicates that the reason for the failure was an IMAP REFERRAL in the response code. See RFC 2221 for details.- Since:
- JavaMail 1.5.5
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReferralException(java.lang.String url, java.lang.String text)Constructs an ReferralException with the specified URL and text.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetText()Return the text sent by the server along with the referral.java.lang.StringgetUrl()Return the IMAP URL in the referral.-
Methods inherited from class jakarta.mail.MessagingException
getCause, getNextException, setNextException, toString
-
-