2013-10-25 15:19:00 +00:00
|
|
|
/*
|
2013-12-20 19:25:49 +00:00
|
|
|
* This is the source code of Telegram for Android v. 1.3.2.
|
2013-10-25 15:19:00 +00:00
|
|
|
* It is licensed under GNU GPL v. 2 or later.
|
|
|
|
* You should have received a copy of the license in this archive (see LICENSE).
|
|
|
|
*
|
|
|
|
* Copyright Nikolai Kudashov, 2013.
|
|
|
|
*/
|
|
|
|
|
|
|
|
package org.telegram.SQLite;
|
|
|
|
|
|
|
|
public class SQLiteException extends Exception {
|
|
|
|
private static final long serialVersionUID = -2398298479089615621L;
|
|
|
|
public final int errorCode;
|
|
|
|
|
|
|
|
public SQLiteException(int errcode, String msg) {
|
|
|
|
super(msg);
|
|
|
|
errorCode = errcode;
|
|
|
|
}
|
|
|
|
|
|
|
|
public SQLiteException(String msg) {
|
|
|
|
this(0, msg);
|
|
|
|
}
|
|
|
|
|
|
|
|
public SQLiteException() {
|
|
|
|
errorCode = 0;
|
|
|
|
}
|
|
|
|
}
|