All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.signalr4j.client.http.InvalidHttpStatusCodeException Maven / Gradle / Ivy

There is a newer version: 2.0.4
Show newest version
/*
Copyright (c) Microsoft Open Technologies, Inc.
All Rights Reserved
See License.txt in the project root for license information.
*/

package com.github.signalr4j.client.http;

/**
 * Exception thrown when an invalid HTTP Status code is received
 */
public class InvalidHttpStatusCodeException extends Exception {

    private static final long serialVersionUID = 7073157073424850921L;

    public InvalidHttpStatusCodeException(int statusCode, String responseContent, String responseHeaders) {
        super("Invalid status code: " + statusCode + "\nResponse: " + responseContent + "\nHeaders: " + responseHeaders);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy