All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.backblaze.b2.client.exceptions.B2RuntimeException Maven / Gradle / Ivy

Go to download

The core logic for B2 SDK for Java. Does not include any implementations of B2WebApiClient.

There is a newer version: 6.3.0
Show newest version
/*
 * Copyright 2017, Backblaze Inc. All Rights Reserved.
 * License https://www.backblaze.com/using_b2_code.html
 */
package com.backblaze.b2.client.exceptions;

/**
 * B2RuntimeExceptions are thrown instead of B2Exceptions in the places
 * where an interface prevents the SDK from throwing a B2Exception.
 * The most notable examples of this are in the creation, hasNext(), and
 * next() methods of iterators provided by the SDK.
 */
public class B2RuntimeException extends RuntimeException {
    public B2RuntimeException(String message) {
        super(message);
    }

    public B2RuntimeException(String message,
                              Throwable cause) {
        super(message, cause);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy