Back to project page sony-camera-remote-java.
The source code is released under:
Apache License
If you think the Android project sony-camera-remote-java listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.praetoriandroid.cameraremote; /*from w w w . j av a 2s.c o m*/ import java.io.IOException; public class BadHttpStatusException extends IOException { private static final long serialVersionUID = 5911995982406477578L; private int httpStatus; public BadHttpStatusException(int httpStatusCode, String httpStatusMessage) { super(httpStatusCode + ": " + httpStatusMessage); this.httpStatus = httpStatusCode; } public int getStatus() { return httpStatus; } @Override public String toString() { return getMessage(); } }