Android Open Source - base_app Server 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 2s  . c  o  m

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

  public ServerException() { super(); }

  public ServerException(String name, String message) {
    super(message);
    this.message = message;
        this.name = name;
  }
  
  public ServerException(String name, String message, Throwable cause) {
    super(name, cause);
    this.message = message;
        this.name = name;
  }
  
  public ServerException(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