提交 328abb40 authored 作者: Thomas Mueller's avatar Thomas Mueller

In the last release, the error code for "Wrong user name or password" was still…

In the last release, the error code for "Wrong user name or password" was still 08004 instead of 28000, which resulted in the wrong error message.
上级 10a5a1e7
......@@ -65,14 +65,6 @@ public class ErrorCode {
*/
public static final int ERROR_OPENING_DATABASE_1 = 8000;
/**
* The error with code <code>28000</code> is thrown when
* there is no such user registered in the database, when
* the user password does not match, or when the database encryption password
* does not match (if database encryption is used).
*/
public static final int WRONG_USER_OR_PASSWORD = 28000;
// 21: cardinality violation
/**
* The error with code <code>21002</code> is thrown when the number of
......@@ -228,6 +220,16 @@ public class ErrorCode {
*/
public static final int CHECK_CONSTRAINT_VIOLATED_1 = 23513;
// 28: invalid authorization specification
/**
* The error with code <code>28000</code> is thrown when
* there is no such user registered in the database, when
* the user password does not match, or when the database encryption password
* does not match (if database encryption is used).
*/
public static final int WRONG_USER_OR_PASSWORD = 28000;
// 3B: savepoint exception
/**
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论