Package energy.trolie.client.exception
Class StreamingGetResponseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
energy.trolie.client.exception.TrolieException
energy.trolie.client.exception.StreamingGetException
energy.trolie.client.exception.StreamingGetResponseException
- All Implemented Interfaces:
Serializable
Exception indicating a server response with an abnormal HTTP status code
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionStreamingGetResponseException
(String message, int code) Creates with an invalid HTTP code -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
StreamingGetResponseException
Creates with an invalid HTTP code- Parameters:
cause
- parent
-
StreamingGetResponseException
- Parameters:
message
- any captured messagecode
- received HTTP response code
-