summaryrefslogtreecommitdiffstats
path: root/core/java/android/database/SQLException.java
diff options
context:
space:
mode:
Diffstat (limited to 'core/java/android/database/SQLException.java')
-rw-r--r--core/java/android/database/SQLException.java13
1 files changed, 8 insertions, 5 deletions
diff --git a/core/java/android/database/SQLException.java b/core/java/android/database/SQLException.java
index 0386af0..3402026 100644
--- a/core/java/android/database/SQLException.java
+++ b/core/java/android/database/SQLException.java
@@ -19,12 +19,15 @@ package android.database;
/**
* An exception that indicates there was an error with SQL parsing or execution.
*/
-public class SQLException extends RuntimeException
-{
- public SQLException() {}
+public class SQLException extends RuntimeException {
+ public SQLException() {
+ }
- public SQLException(String error)
- {
+ public SQLException(String error) {
super(error);
}
+
+ public SQLException(String error, Throwable cause) {
+ super(error, cause);
+ }
}