2008-11-01 17:32:06 -04:00
|
|
|
|
2008-12-16 18:34:01 -05:00
|
|
|
package com.android.email.mail;
|
2008-11-01 17:32:06 -04:00
|
|
|
|
|
|
|
public class MessagingException extends Exception {
|
|
|
|
public static final long serialVersionUID = -1;
|
|
|
|
|
2009-04-10 22:11:17 -04:00
|
|
|
boolean permanentFailure = false;
|
|
|
|
|
2008-11-01 17:32:06 -04:00
|
|
|
public MessagingException(String message) {
|
|
|
|
super(message);
|
|
|
|
}
|
|
|
|
|
|
|
|
public MessagingException(String message, Throwable throwable) {
|
|
|
|
super(message, throwable);
|
|
|
|
}
|
2009-04-10 22:11:17 -04:00
|
|
|
|
|
|
|
public boolean isPermanentFailure()
|
|
|
|
{
|
|
|
|
return permanentFailure;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setPermanentFailure(boolean permanentFailure)
|
|
|
|
{
|
|
|
|
this.permanentFailure = permanentFailure;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-11-01 17:32:06 -04:00
|
|
|
}
|