Top Description Fields Constructors Methods
com.sun.mail.imap.protocol

public Class IMAPReferralException

extends ProtocolException
Class Inheritance
Imports
com.sun.mail.iap.ProtocolException

A ProtocolException that includes IMAP login referral information.
Since
JavaMail 1.5.5

Field Summary

Modifier and TypeField and Description
private static final long
private String
Inherited from com.sun.mail.iap.ProtocolException:
response

Constructor Summary

AccessConstructor and Description
public
IMAPReferralException(String
the detail message
s
,
String
the URL
url
)

Constructs an IMAPReferralException with the specified detail message.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the IMAP URL
getUrl
()

Return the IMAP URL in the referral.

Inherited from com.sun.mail.iap.ProtocolException:
getResponse

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides com.sun.mail.iap.ProtocolException.serialVersionUID.

urlback to summary
private String url

Constructor Detail

IMAPReferralExceptionback to summary
public IMAPReferralException(String s, String url)

Constructs an IMAPReferralException with the specified detail message. and URL.

Parameters
s:String

the detail message

url:String

the URL

Method Detail

getUrlback to summary
public String getUrl()

Return the IMAP URL in the referral.

Returns:String

the IMAP URL