Welcome to mirror list, hosted at ThFree Co, Russian Federation.

IntendedOfflineException.java « exception « notes « owncloud « niedermann « it « java « main « src « app - github.com/stefan-niedermann/nextcloud-notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1cd1f206fbbb43b64bd30c9f6733665cc27b06f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package it.niedermann.owncloud.notes.exception;

import androidx.annotation.NonNull;

/**
 * This type of {@link Exception} occurs, when a user has an active internet connection but decided by intention not to use it.
 * Example: "Sync only on Wi-Fi" is set to <code>true</code>, Wi-Fi is not connected, mobile data is available
 */
public class IntendedOfflineException extends Exception {

    public IntendedOfflineException(@NonNull String message) {
        super(message);
    }
}