• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mybatis / generator / 2142

06 Apr 2026 03:19PM UTC coverage: 91.678% (-0.1%) from 91.775%
2142

push

github

web-flow
Merge pull request #1487 from jeffgbutler/merge-exception

Add a new exception for merge errors, improve exception handling in general

2425 of 3124 branches covered (77.62%)

19 of 44 new or added lines in 13 files covered. (43.18%)

7 existing lines in 4 files now uncovered.

11887 of 12966 relevant lines covered (91.68%)

0.92 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

66.67
/core/mybatis-generator-core/src/main/java/org/mybatis/generator/exception/MergeException.java
1
/*
2
 *    Copyright 2006-2026 the original author or authors.
3
 *
4
 *    Licensed under the Apache License, Version 2.0 (the "License");
5
 *    you may not use this file except in compliance with the License.
6
 *    You may obtain a copy of the License at
7
 *
8
 *       https://www.apache.org/licenses/LICENSE-2.0
9
 *
10
 *    Unless required by applicable law or agreed to in writing, software
11
 *    distributed under the License is distributed on an "AS IS" BASIS,
12
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
 *    See the License for the specific language governing permissions and
14
 *    limitations under the License.
15
 */
16
package org.mybatis.generator.exception;
17

18
import java.io.Serial;
19
import java.util.List;
20

21
public class MergeException extends MultiMessageException {
22

23
    @Serial
24
    private static final long serialVersionUID = -7091914043920657025L;
25

26
    public MergeException(String message, List<String> extraMessages) {
27
        super(message, extraMessages);
1✔
28
    }
1✔
29

30
    public MergeException(String error) {
31
        super(error);
1✔
32
    }
1✔
33

34
    public MergeException(String error, Throwable cause) {
NEW
35
        super(error, cause);
×
NEW
36
    }
×
37
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc