com.github.signalr4j.client.http.InvalidHttpStatusCodeException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of signalr4j Show documentation
Show all versions of signalr4j Show documentation
A java client library for accessing SignalR WebSocket endpoints.
/*
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);
}
}