MessagingException.java :  » Email » vf-pamc » com » vodafone » nowplus » android » peoplemail » mail » Android Open Source

Android Open Source » Email » vf pamc 
vf pamc » com » vodafone » nowplus » android » peoplemail » mail » MessagingException.java

package com.vodafone.nowplus.android.peoplemail.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;
    }


}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.