-
Notifications
You must be signed in to change notification settings - Fork 784
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2277 from AxonFramework/fix_issue_2274
Retry to initialize the token store correctly on exception for PSEP.
- Loading branch information
Showing
8 changed files
with
189 additions
and
28 deletions.
There are no files selected for viewing
47 changes: 47 additions & 0 deletions
47
messaging/src/main/java/org/axonframework/common/ProcessRetriesExhaustedException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/* | ||
* Copyright (c) 2010-2022. Axon Framework | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package org.axonframework.common; | ||
|
||
/** | ||
* Exception indicating that an action was retried a maximum times, without a good result. | ||
* | ||
* @author Gerard Klijs | ||
* @since 4.5.13 | ||
*/ | ||
public class ProcessRetriesExhaustedException extends AxonException { | ||
|
||
private static final long serialVersionUID = 6920545831431694106L; | ||
|
||
/** | ||
* Initializes the exception using the given {@code message}. | ||
* | ||
* @param message The message describing the exception | ||
*/ | ||
public ProcessRetriesExhaustedException(String message) { | ||
super(message); | ||
} | ||
|
||
/** | ||
* Initializes the exception using the given {@code message} and {@code cause}. | ||
* | ||
* @param message The message describing the exception | ||
* @param cause The underlying cause of the exception | ||
*/ | ||
public ProcessRetriesExhaustedException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.