提交 0b48ee6c authored 作者: Thomas Mueller Graf's avatar Thomas Mueller Graf

Add missing error message text

上级 cec0e8e0
......@@ -407,6 +407,18 @@ public class ErrorCode {
*/
public static final int LOCK_TIMEOUT_1 = 50200;
/**
* The error with code <code>57014</code> is thrown when
* a statement was canceled using Statement.cancel() or
* when the query timeout has been reached.
* Examples:
* <pre>
* stat.setQueryTimeout(1);
* stat.cancel();
* </pre>
*/
public static final int STATEMENT_WAS_CANCELED = 57014;
/**
* The error with code <code>90000</code> is thrown when
* a function that does not return a result set was used in the FROM clause.
......@@ -491,16 +503,6 @@ public class ErrorCode {
*/
public static final int INVALID_VALUE_2 = 90008;
/**
* The error with code <code>90051</code> is thrown when
* trying to use a scale that is > precision.
* Example:
* <pre>
* CREATE TABLE TABLE1 ( FAIL NUMBER(6,24) );
* </pre>
*/
public static final int INVALID_VALUE_SCALE_PRECISION = 90051;
/**
* The error with code <code>90009</code> is thrown when
* trying to create a sequence with an invalid combination
......@@ -937,16 +939,15 @@ public class ErrorCode {
public static final int WRONG_PASSWORD_FORMAT = 90050;
/**
* The error with code <code>57014</code> is thrown when
* a statement was canceled using Statement.cancel() or
* when the query timeout has been reached.
* Examples:
* The error with code <code>90051</code> is thrown when
* trying to use a scale that is > precision.
* Example:
* <pre>
* stat.setQueryTimeout(1);
* stat.cancel();
* CREATE TABLE TABLE1 ( FAIL NUMBER(6,24) );
* </pre>
*/
public static final int STATEMENT_WAS_CANCELED = 57014;
; // message missing
public static final int INVALID_VALUE_SCALE_PRECISION = 90051;
/**
* The error with code <code>90052</code> is thrown when
......
......@@ -78,6 +78,7 @@
90048=Unsupported database file version or invalid file header in file {0}
90049=Encryption error in file {0}
90050=Wrong password format, must be: file password <space> user password
90051=Scale(${0}) must not be bigger than precision({1})
90052=Subquery is not a single column query
90053=Scalar subquery contains more than one row
90054=Invalid use of aggregate function {0}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论