Back to project page SQLDroid.
The source code is released under:
MIT License
If you think the Android project SQLDroid listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.sqldroid; /*from www.j a v a 2 s. co m*/ import java.io.PrintStream; import java.io.PrintWriter; import android.database.SQLException; public class SQLDroidSQLException extends java.sql.SQLException { private static final long serialVersionUID = -7299376329007161001L; /** The exception that this exception was created for. */ SQLException sqlException; /** Create a hard java.sql.SQLException from the RuntimeException android.database.SQLException. */ public SQLDroidSQLException (SQLException sqlException) { this.sqlException = sqlException; } /** * @param o * @return * @see java.lang.Object#equals(java.lang.Object) */ public boolean equals(Object o) { return sqlException.equals(o); } /** * @return * @see java.lang.Throwable#fillInStackTrace() */ public Throwable fillInStackTrace() { return sqlException.fillInStackTrace(); } /** * @return * @see java.lang.Throwable#getCause() */ public Throwable getCause() { return sqlException.getCause(); } /** * @return * @see java.lang.Throwable#getLocalizedMessage() */ public String getLocalizedMessage() { return sqlException.getLocalizedMessage(); } /** * @return * @see java.lang.Throwable#getMessage() */ public String getMessage() { return sqlException.getMessage(); } /** * @return * @see java.lang.Throwable#getStackTrace() */ public StackTraceElement[] getStackTrace() { return sqlException.getStackTrace(); } /** * * @see java.lang.Throwable#printStackTrace() */ public void printStackTrace() { sqlException.printStackTrace(); } /** * @param err * @see java.lang.Throwable#printStackTrace(java.io.PrintStream) */ public void printStackTrace(PrintStream err) { sqlException.printStackTrace(err); } /** * @param err * @see java.lang.Throwable#printStackTrace(java.io.PrintWriter) */ public void printStackTrace(PrintWriter err) { sqlException.printStackTrace(err); } /** * @return * @see java.lang.Throwable#toString() */ public String toString() { return sqlException.toString(); } }