mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-01 07:15:57 +00:00
29 lines
626 B
Java
29 lines
626 B
Java
package com.limelight.nvstream.http;
|
|
|
|
import java.io.IOException;
|
|
|
|
public class GfeHttpResponseException extends IOException {
|
|
private static final long serialVersionUID = 1543508830807804222L;
|
|
|
|
private int errorCode;
|
|
private String errorMsg;
|
|
|
|
public GfeHttpResponseException(int errorCode, String errorMsg) {
|
|
this.errorCode = errorCode;
|
|
this.errorMsg = errorMsg;
|
|
}
|
|
|
|
public int getErrorCode() {
|
|
return errorCode;
|
|
}
|
|
|
|
public String getErrorMessage() {
|
|
return errorMsg;
|
|
}
|
|
|
|
@Override
|
|
public String getMessage() {
|
|
return "GeForce Experience returned error: "+errorMsg+" (Error code: "+errorCode+")";
|
|
}
|
|
}
|