Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.phonedeck.gcm4j;

Exception that is thrown when the GCM server responds with an error.
 
 public class GcmNetworkException extends RuntimeException {
 
     private static final long serialVersionUID = -8755599343380178261L;
 
    private final int code;
    private final String response;
    
    public GcmNetworkException(int codeString responseThrowable cause) {
        super("HTTP " + code + ": " + response);
        this. = code;
        this. = response;
    }
    
    public int getCode() {
        return ;
    }
    
    public String getResponse() {
        return ;
    }
    
New to GrepCode? Check out our FAQ X