@Component public class StateSaveExceptionAnalyzer extends Object
| Constructor and Description |
|---|
StateSaveExceptionAnalyzer(Environment env)
Create state save exception analyzer.
|
| Modifier and Type | Method and Description |
|---|---|
protected StateSaveExceptionHandling |
analyze(Exception e,
int saveRetryCount)
Override this to provide custom handling.
|
StateSaveExceptionHandling |
analyzeSafely(Exception e,
int saveRetryCount)
Analyze the exception.
|
@Inject public StateSaveExceptionAnalyzer(Environment env)
env - The Spring environment.public final StateSaveExceptionHandling analyzeSafely(Exception e, int saveRetryCount)
e - The exception to be analyzed.saveRetryCount - How many times the saving has been attempted before this attempt.protected StateSaveExceptionHandling analyze(Exception e, int saveRetryCount)
e - The exception to be analyzed.saveRetryCount - How many times the saving has been attempted before this attempt.Copyright © 2014–2021 Nitor Creations. All rights reserved.