Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JBTM-3295] LRA CDI when fails on non providing @Compensate/@AfterLRA… #1602

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -127,7 +127,7 @@ private boolean isLRAParticipant(ClassInfo classInfo) {
return false;
} else if (!annotations.containsKey(DotNames.COMPENSATE) && !annotations.containsKey(DotNames.AFTER_LRA)) {
throw new IllegalStateException(String.format("%s: %s",
classInfo.simpleName(), "The class contains an LRA method and no Compensate or AfterLRA method was found."));
classInfo.name(), "The class contains an LRA method and no Compensate or AfterLRA method was found."));
} else {
return true;
}
Expand Down