|
1 /* This Source Code Form is subject to the terms of the Mozilla Public |
|
2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
4 |
|
5 package org.mozilla.gecko.sync.repositories; |
|
6 |
|
7 import org.mozilla.gecko.sync.SyncException; |
|
8 |
|
9 import android.net.Uri; |
|
10 |
|
11 /** |
|
12 * Raised when a Content Provider cannot be retrieved. |
|
13 * |
|
14 * @author rnewman |
|
15 * |
|
16 */ |
|
17 public class NoContentProviderException extends SyncException { |
|
18 private static final long serialVersionUID = 1L; |
|
19 |
|
20 public final Uri requestedProvider; |
|
21 public NoContentProviderException(Uri requested) { |
|
22 super(); |
|
23 this.requestedProvider = requested; |
|
24 } |
|
25 } |