2010-11-13 16:40:56 -05:00
|
|
|
package com.fsck.k9.mail.store;
|
|
|
|
|
|
|
|
import com.fsck.k9.Account;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* An {@link Account} is not
|
|
|
|
* {@link Account#isAvailable(android.content.Context)}.<br/>
|
|
|
|
* The operation may be retried later.
|
|
|
|
*/
|
2011-02-06 17:09:48 -05:00
|
|
|
public class UnavailableAccountException extends RuntimeException {
|
2010-11-13 16:40:56 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
private static final long serialVersionUID = -1827283277120501465L;
|
|
|
|
|
2011-02-06 17:09:48 -05:00
|
|
|
public UnavailableAccountException() {
|
2010-11-13 16:40:56 -05:00
|
|
|
super("please try again later");
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param detailMessage
|
|
|
|
* @param throwable
|
|
|
|
*/
|
2011-02-06 17:09:48 -05:00
|
|
|
public UnavailableAccountException(String detailMessage, Throwable throwable) {
|
2010-11-13 16:40:56 -05:00
|
|
|
super(detailMessage, throwable);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param detailMessage
|
|
|
|
*/
|
2011-02-06 17:09:48 -05:00
|
|
|
public UnavailableAccountException(String detailMessage) {
|
2010-11-13 16:40:56 -05:00
|
|
|
super(detailMessage);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param throwable
|
|
|
|
*/
|
2011-02-06 17:09:48 -05:00
|
|
|
public UnavailableAccountException(Throwable throwable) {
|
2010-11-13 16:40:56 -05:00
|
|
|
super(throwable);
|
|
|
|
}
|
|
|
|
}
|