Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/org/adblockplus/android/compat/CompatibilityException.java

Issue 4705284891082752: Proxy configurators (Closed)
Patch Set: Update 1 Created Aug. 19, 2014, 10:43 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/org/adblockplus/android/compat/CompatibilityException.java
diff --git a/src/org/adblockplus/libadblockplus/AdblockPlusException.java b/src/org/adblockplus/android/compat/CompatibilityException.java
similarity index 62%
copy from src/org/adblockplus/libadblockplus/AdblockPlusException.java
copy to src/org/adblockplus/android/compat/CompatibilityException.java
index be88230e374c218cd7f75905fb53398f89524bea..819dbd402f5b7908d8ac685ac2d74a1702f1dcec 100644
--- a/src/org/adblockplus/libadblockplus/AdblockPlusException.java
+++ b/src/org/adblockplus/android/compat/CompatibilityException.java
@@ -15,23 +15,26 @@
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
*/
-package org.adblockplus.libadblockplus;
+package org.adblockplus.android.compat;
-public class AdblockPlusException extends RuntimeException
+/**
+ * Checked exception to indicate any problems/errors inside the compatibility layer (mostly reflection specific errors).
+ */
+public class CompatibilityException extends Exception
{
- private static final long serialVersionUID = -8127654134450836743L;
+ private static final long serialVersionUID = -6583503345769050560L;
- public AdblockPlusException(final String message)
+ public CompatibilityException(final String message)
{
super(message);
}
- public AdblockPlusException(final String message, final Throwable throwable)
+ public CompatibilityException(final String message, final Throwable throwable)
{
super(message, throwable);
}
- public AdblockPlusException(final Throwable throwable)
+ public CompatibilityException(final Throwable throwable)
{
super(throwable);
}
« no previous file with comments | « src/org/adblockplus/android/compat/CmGlobalProxyManager.java ('k') | src/org/adblockplus/android/compat/LinkProperties.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld