数据库第二次大作业boostore
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

123 lines
2.3 KiB

<!DOCTYPE html>
<html id="htmlId">
<head>
<title>Coverage Report > AppException</title>
<style type="text/css">
@import "../../css/coverage.css";
@import "../../css/idea.min.css";
</style>
<script type="text/javascript" src="../../js/highlight.min.js"></script>
<script type="text/javascript" src="../../js/highlightjs-line-numbers.min.js"></script>
</head>
<body>
<div class="content">
<div class="breadCrumbs">
Current scope: <a href="../../index.html">all classes</a>
<span class="separator">|</span>
<a href="../index.html">cn.edu.ecnu.stu.bookstore.component</a>
</div>
<h1>Coverage Summary for Class: AppException (cn.edu.ecnu.stu.bookstore.component)</h1>
<table class="coverageStats">
<tr>
<th class="name">Class</th>
<th class="coverageStat
">
Class, %
</th>
<th class="coverageStat
">
Method, %
</th>
<th class="coverageStat
">
Line, %
</th>
</tr>
<tr>
<td class="name">AppException</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
</tr>
</table>
<br/>
<br/>
<pre>
<code class="sourceCode" id="sourceCode">&nbsp;package cn.edu.ecnu.stu.bookstore.component;
&nbsp;
&nbsp;import lombok.AllArgsConstructor;
&nbsp;
<b class="fc">&nbsp;@AllArgsConstructor</b>
&nbsp;public class AppException extends RuntimeException{
&nbsp;
&nbsp; private String code;
&nbsp;
&nbsp; private String message;
&nbsp;
&nbsp; public String getCode() {
<b class="fc">&nbsp; return code;</b>
&nbsp; }
&nbsp;
&nbsp; @Override
&nbsp; public String getMessage() {
<b class="fc">&nbsp; return message;</b>
&nbsp; }
&nbsp;}
</code>
</pre>
</div>
<script type="text/javascript">
(function() {
var msie = false, msie9 = false;
/*@cc_on
msie = true;
@if (@_jscript_version >= 9)
msie9 = true;
@end
@*/
if (!msie || msie && msie9) {
hljs.highlightAll()
hljs.initLineNumbersOnLoad();
}
})();
</script>
<div class="footer">
<div style="float:right;">generated on 2023-12-12 14:34</div>
</div>
</body>
</html>