public class ReferralException extends AuthenticationFailedException
Constructor and Description |
---|
ReferralException(String url,
String text)
Constructs an ReferralException with the specified URL and text.
|
Modifier and Type | Method and Description |
---|---|
String |
getText()
Return the text sent by the server along with the referral.
|
String |
getUrl()
Return the IMAP URL in the referral.
|
getCause, getNextException, setNextException, toString
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
Copyright © 1996-2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.