Class 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:
  • Constructor Details

    • IMAPReferralException

      public IMAPReferralException(String s, String url)
      Constructs an IMAPReferralException with the specified detail message. and URL.
      Parameters:
      s - the detail message
      url - the URL
  • Method Details

    • getUrl

      public String getUrl()
      Return the IMAP URL in the referral.
      Returns:
      the IMAP URL