io.joshworks.stream.client.ClientException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stream-client Show documentation
Show all versions of stream-client Show documentation
Resilient client for Server sent events and WebSockets
package io.joshworks.stream.client;
/**
* Created by Josh Gontijo on 6/2/17.
*/
public class ClientException extends RuntimeException {
private final int status;
public ClientException(int status, String message) {
super(message);
this.status = status;
}
public int getStatus() {
return status;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy