mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-15 05:55:06 -05:00
9cac2cd5b7
find src/com/android/email/ -name \*java|xargs astyle --style=ansi \ --mode=java --indent-switches --indent=spaces=4 --convert-tabs \ --unpad=paren
44 lines
882 B
Java
44 lines
882 B
Java
|
|
package com.android.email.mail;
|
|
|
|
public class MessagingException extends Exception
|
|
{
|
|
public static final long serialVersionUID = -1;
|
|
|
|
boolean permanentFailure = false;
|
|
|
|
public MessagingException(String message)
|
|
{
|
|
super(message);
|
|
}
|
|
|
|
public MessagingException(String message, boolean perm)
|
|
{
|
|
super(message);
|
|
permanentFailure = perm;
|
|
}
|
|
|
|
public MessagingException(String message, Throwable throwable)
|
|
{
|
|
super(message, throwable);
|
|
}
|
|
|
|
public MessagingException(String message, boolean perm, Throwable throwable)
|
|
{
|
|
super(message, throwable);
|
|
permanentFailure = perm;
|
|
}
|
|
|
|
public boolean isPermanentFailure()
|
|
{
|
|
return permanentFailure;
|
|
}
|
|
|
|
public void setPermanentFailure(boolean permanentFailure)
|
|
{
|
|
this.permanentFailure = permanentFailure;
|
|
}
|
|
|
|
|
|
}
|