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: Created Aug. 11, 2014, 12:36 p.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 61%
copy from src/org/adblockplus/libadblockplus/AdblockPlusException.java
copy to src/org/adblockplus/android/compat/CompatibilityException.java
index be88230e374c218cd7f75905fb53398f89524bea..1e0fd94621f7cc756e5ea650de2ba30aa9dd46bb 100644
--- a/src/org/adblockplus/libadblockplus/AdblockPlusException.java
+++ b/src/org/adblockplus/android/compat/CompatibilityException.java
@@ -15,23 +15,28 @@
* 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).
+ *
+ * @author rjeschke
+ */
+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);
}

Powered by Google App Engine
This is Rietveld