Class ConcurrencyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.evolveum.midpoint.util.exception.CommonException
com.evolveum.midpoint.util.exception.ConcurrencyException
- All Implemented Interfaces:
- ExceptionContextAware,- SeverityAwareException,- Serializable
Exceptional concurrency state or operation invocation.
 This exception is thrown in case of race conditions and similar conflicting concurrency conditions.
 It is also thrown in an attempt to acquire already acquired locks and similar cases.
 This condition is implemented as exception in a hope that it will help avoid silently ignoring the
 concurrency problems and that the developers will be forced to handle the condition.
 It is much easier to ignore a return value than to ignore an exception.
- Author:
- Radovan Semancik
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from interface com.evolveum.midpoint.util.exception.SeverityAwareExceptionSeverityAwareException.Severity
- 
Field SummaryFields inherited from class com.evolveum.midpoint.util.exception.CommonExceptionlocalizedUserFriendlyMessage, userFriendlyMessage
- 
Constructor SummaryConstructorsConstructorDescriptionConcurrencyException(LocalizableMessage userFriendlyMessage) ConcurrencyException(LocalizableMessage userFriendlyMessage, Throwable cause) ConcurrencyException(String message) ConcurrencyException(String message, Throwable cause) ConcurrencyException(Throwable cause) 
- 
Method SummaryModifier and TypeMethodDescriptionReturns a human-readable message that describes the type or class of errors that the exception represents.Methods inherited from class com.evolveum.midpoint.util.exception.CommonExceptiongetContext, getLocalizedMessage, getLocalizedUserFriendlyMessage, getMessage, getTechnicalMessage, getUserFriendlyMessage, setLocalizedUserFriendlyMessage, setTechnicalMessage, toStringMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.exception.SeverityAwareExceptiongetSeverity
- 
Constructor Details- 
ConcurrencyExceptionpublic ConcurrencyException()
- 
ConcurrencyException
- 
ConcurrencyException
- 
ConcurrencyException
- 
ConcurrencyException
- 
ConcurrencyException
 
- 
- 
Method Details- 
getErrorTypeMessageDescription copied from class:CommonExceptionReturns a human-readable message that describes the type or class of errors that the exception represents. E.g. "Communication error", "Policy violation", etc. TODO: switch return value to a localized message- Specified by:
- getErrorTypeMessagein class- CommonException
 
 
-