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

aspectran / aspectran / #4156

17 Mar 2025 09:03PM CUT coverage: 35.363%. Remained the same
#4156

Pull #784

github

web-flow
Bump net.java.dev.jna:jna from 5.16.0 to 5.17.0

Bumps [net.java.dev.jna:jna](https://github.com/java-native-access/jna) from 5.16.0 to 5.17.0.
- [Changelog](https://github.com/java-native-access/jna/blob/master/CHANGES.md)
- [Commits](https://github.com/java-native-access/jna/compare/5.16.0...5.17.0)

---
updated-dependencies:
- dependency-name: net.java.dev.jna:jna
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Pull Request #784: Bump net.java.dev.jna:jna from 5.16.0 to 5.17.0

14284 of 40392 relevant lines covered (35.36%)

0.35 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-2025 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