GntpException.java :  » UnTagged » growlforandroid » com » growlforandroid » gntp » Android Open Source

Android Open Source » UnTagged » growlforandroid 
growlforandroid » com » growlforandroid » gntp » GntpException.java
package com.growlforandroid.gntp;


public class GntpException extends Exception {
  private static final long serialVersionUID = 1L;
  public final GntpError Error;
  
  public GntpException(GntpError error) {    
    super(error.Description);
    Error = error;
  }
  
  public GntpException(GntpError error, String description) {
    this(error);
    if (description != null) {
      Error.setDescription(description);
    }
  }
}
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.