Class B2ConnectionBrokenException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.backblaze.b2.client.exceptions.B2Exception
-
- com.backblaze.b2.client.exceptions.B2NetworkBaseException
-
- com.backblaze.b2.client.exceptions.B2ConnectionBrokenException
-
- All Implemented Interfaces:
java.io.Serializable
public class B2ConnectionBrokenException extends B2NetworkBaseException
B2ConnectionBrokenException represents the network connection to the B2 servers having been closed unexpectedly. Note that this exception is generated locally by the SDK and has a non-standard STATUS code.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.backblaze.b2.client.exceptions.B2Exception
DEFAULT_CODE
-
-
Constructor Summary
Constructors Constructor Description B2ConnectionBrokenException(java.lang.String code, java.lang.Integer retryAfterSecondsOrNull, java.lang.String message)
B2ConnectionBrokenException(java.lang.String code, java.lang.Integer retryAfterSecondsOrNull, java.lang.String message, java.lang.Throwable cause)
-
Method Summary
-
Methods inherited from class com.backblaze.b2.client.exceptions.B2Exception
create, getCode, getRetryAfterSecondsOrNull, getStatus, toString
-
-
-
-
Constructor Detail
-
B2ConnectionBrokenException
public B2ConnectionBrokenException(java.lang.String code, java.lang.Integer retryAfterSecondsOrNull, java.lang.String message)
-
B2ConnectionBrokenException
public B2ConnectionBrokenException(java.lang.String code, java.lang.Integer retryAfterSecondsOrNull, java.lang.String message, java.lang.Throwable cause)
-
-