Class B2NetworkException
- 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.B2NetworkException
-
- All Implemented Interfaces:
java.io.Serializable
public class B2NetworkException extends B2NetworkBaseException
B2NetworkTimeoutException represents the network connection to a B2 server being closed locally because the server isn't answering in a timely fashion. 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 B2NetworkException(java.lang.String code, java.lang.Integer retryAfterSecondsOrNull, java.lang.String message)
B2NetworkException(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
-
B2NetworkException
public B2NetworkException(java.lang.String code, java.lang.Integer retryAfterSecondsOrNull, java.lang.String message)
-
B2NetworkException
public B2NetworkException(java.lang.String code, java.lang.Integer retryAfterSecondsOrNull, java.lang.String message, java.lang.Throwable cause)
-
-