Android Open Source - base_app Service Exception






From Project

Back to project page base_app.

License

The source code is released under:

GNU General Public License

If you think the Android project base_app listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.bengui.baseapp.services;
//  www.  j  a v  a  2  s. com
import org.json.JSONException;

public class ServiceException extends JSONException{
  
  /**
   * 
   */
  private static final long serialVersionUID = 1L;
  private String name;
  private String message;
  //private ArrayList<String>;
      

  public ServiceException() { super(""); }

  public ServiceException(String name, String message) {
    super(name);
    this.message = message;
        this.name = name;
  }
  
  public ServiceException(String name, String message, Throwable cause) {
    super(name);
    this.message = message;
        this.name = name;
  }
  
  //public ServiceError(Throwable cause) { super(cause); }
    

    public String getName(){
        return name;
    }
    
    public String getMessage(){
        return message;
    }


}




Java Source Code List

com.bengui.baseapp.MainActivity.java
com.bengui.baseapp.gcm.GCMManager.java
com.bengui.baseapp.gcm.GcmBroadcastReceiver.java
com.bengui.baseapp.gcm.GcmIntentService.java
com.bengui.baseapp.models.Contact.java
com.bengui.baseapp.services.HttpClient.java
com.bengui.baseapp.services.ServerException.java
com.bengui.baseapp.services.ServiceException.java
com.bengui.baseapp.utils.Constants.java
com.bengui.baseapp.utils.JSONParcelableObject.java
com.bengui.baseapp.utils.JSONUtils.java
com.bengui.baseapp.utils.Utils.java