File tree Expand file tree Collapse file tree 5 files changed +13
-12
lines changed
java/org/mybatis/dynamic/sql/util
resources/org/mybatis/dynamic/sql/util Expand file tree Collapse file tree 5 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 18
18
public abstract class GeneralInsertMappingVisitor <R > implements ColumnMappingVisitor <R > {
19
19
@ Override
20
20
public final R visit (SelectMapping mapping ) {
21
- throw new UnsupportedOperationException ();
21
+ throw new UnsupportedOperationException (Messages . getString ( "ERROR.31" , "1" )); //$NON-NLS-1$ //$NON-NLS-2$
22
22
}
23
23
24
24
@ Override
25
25
public final R visit (PropertyMapping mapping ) {
26
- throw new UnsupportedOperationException ();
26
+ throw new UnsupportedOperationException (Messages . getString ( "ERROR.31" , "2" )); //$NON-NLS-1$ //$NON-NLS-2$
27
27
}
28
28
29
29
@ Override
30
30
public final R visit (PropertyWhenPresentMapping mapping ) {
31
- throw new UnsupportedOperationException ();
31
+ throw new UnsupportedOperationException (Messages . getString ( "ERROR.31" , "3" )); //$NON-NLS-1$ //$NON-NLS-2$
32
32
}
33
33
34
34
@ Override
35
35
public final R visit (ColumnToColumnMapping columnMapping ) {
36
- throw new UnsupportedOperationException ();
36
+ throw new UnsupportedOperationException (Messages . getString ( "ERROR.31" , "4" )); //$NON-NLS-1$ //$NON-NLS-2$
37
37
}
38
38
}
Original file line number Diff line number Diff line change 18
18
public abstract class InsertMappingVisitor <R > implements ColumnMappingVisitor <R > {
19
19
@ Override
20
20
public final <T > R visit (ValueMapping <T > mapping ) {
21
- throw new UnsupportedOperationException ();
21
+ throw new UnsupportedOperationException (Messages . getString ( "ERROR.31" , "5" )); //$NON-NLS-1$ //$NON-NLS-2$
22
22
}
23
23
24
24
@ Override
25
25
public final <T > R visit (ValueOrNullMapping <T > mapping ) {
26
- throw new UnsupportedOperationException ();
26
+ throw new UnsupportedOperationException (Messages . getString ( "ERROR.31" , "6" )); //$NON-NLS-1$ //$NON-NLS-2$
27
27
}
28
28
29
29
@ Override
30
30
public final <T > R visit (ValueWhenPresentMapping <T > mapping ) {
31
- throw new UnsupportedOperationException ();
31
+ throw new UnsupportedOperationException (Messages . getString ( "ERROR.31" , "7" )); //$NON-NLS-1$ //$NON-NLS-2$
32
32
}
33
33
34
34
@ Override
35
35
public final R visit (SelectMapping mapping ) {
36
- throw new UnsupportedOperationException ();
36
+ throw new UnsupportedOperationException (Messages . getString ( "ERROR.31" , "8" )); //$NON-NLS-1$ //$NON-NLS-2$
37
37
}
38
38
39
39
@ Override
40
40
public final R visit (ColumnToColumnMapping columnMapping ) {
41
- throw new UnsupportedOperationException ();
41
+ throw new UnsupportedOperationException (Messages . getString ( "ERROR.31" , "9" )); //$NON-NLS-1$ //$NON-NLS-2$
42
42
}
43
43
}
Original file line number Diff line number Diff line change 18
18
public abstract class MultiRowInsertMappingVisitor <R > extends InsertMappingVisitor <R > {
19
19
@ Override
20
20
public final R visit (PropertyWhenPresentMapping mapping ) {
21
- throw new UnsupportedOperationException ();
21
+ throw new UnsupportedOperationException (Messages . getString ( "ERROR.31" , "12" )); //$NON-NLS-1$ //$NON-NLS-2$
22
22
}
23
23
}
Original file line number Diff line number Diff line change 18
18
public abstract class UpdateMappingVisitor <R > implements ColumnMappingVisitor <R > {
19
19
@ Override
20
20
public final R visit (PropertyMapping mapping ) {
21
- throw new UnsupportedOperationException ();
21
+ throw new UnsupportedOperationException (Messages . getString ( "ERROR.31" , "10" )); //$NON-NLS-1$ //$NON-NLS-2$
22
22
}
23
23
24
24
@ Override
25
25
public final R visit (PropertyWhenPresentMapping mapping ) {
26
- throw new UnsupportedOperationException ();
26
+ throw new UnsupportedOperationException (Messages . getString ( "ERROR.31" , "11" )); //$NON-NLS-1$ //$NON-NLS-2$
27
27
}
28
28
}
Original file line number Diff line number Diff line change @@ -46,3 +46,4 @@ ERROR.27=You must specify a "from" clause before any other clauses in a select s
46
46
ERROR.28 =You must specify a select statement in a sub query
47
47
ERROR.29 =Insert Select Statements Must Contain an "into" phrase
48
48
ERROR.30 =The parameters for insertMultipleWithGeneratedKeys must contain exactly one parameter of type String
49
+ ERROR.31 =Internal Error {0}
You can’t perform that action at this time.
0 commit comments