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

aspectran / aspectran / #3427

04 Apr 2024 08:25PM CUT coverage: 34.084% (+0.01%) from 34.074%
#3427

Pull #635

github

web-flow
Bump org.apache.maven.plugins:maven-source-plugin from 3.3.0 to 3.3.1

Bumps [org.apache.maven.plugins:maven-source-plugin](https://github.com/apache/maven-source-plugin) from 3.3.0 to 3.3.1.
- [Commits](https://github.com/apache/maven-source-plugin/compare/maven-source-plugin-3.3.0...maven-source-plugin-3.3.1)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-source-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Pull Request #635: Bump org.apache.maven.plugins:maven-source-plugin from 3.3.0 to 3.3.1

13165 of 38625 relevant lines covered (34.08%)

0.34 hits per line

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

0.0
/core/src/main/java/com/aspectran/core/activity/aspect/AspectAdviceException.java
1
/*
2
 * Copyright (c) 2008-2024 The Aspectran Project
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
 *     http://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 com.aspectran.core.activity.aspect;
17

18
import com.aspectran.core.activity.ActivityException;
19
import com.aspectran.core.context.rule.AspectAdviceRule;
20

21
import java.io.Serial;
22

23
/**
24
 * Checked exception thrown if an error occurs while executing the advice.
25
 */
26
public class AspectAdviceException extends ActivityException {
27

28
    @Serial
29
    private static final long serialVersionUID = 6813516429436576091L;
30

31
    private final AspectAdviceRule aspectAdviceRule;
32

33
    /**
34
     * Constructor to create exception to wrap another exception and pass a message.
35
     * @param msg a message to associate with the exception
36
     * @param aspectAdviceRule the aspect advice rule
37
     * @param cause the real cause of the exception
38
     */
39
    public AspectAdviceException(String msg, AspectAdviceRule aspectAdviceRule, Throwable cause) {
40
        super(msg, cause);
×
41
        this.aspectAdviceRule = aspectAdviceRule;
×
42
    }
×
43

44
    /**
45
     * Returns the aspect advice rule.
46
     * @return the aspect advice rule
47
     */
48
    public AspectAdviceRule getAspectAdviceRule() {
49
        return aspectAdviceRule;
×
50
    }
51

52
}
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

© 2025 Coveralls, Inc