@Deprecated public class ConsistencyViolationException extends CommonException
Consistency constraint violation prohibits completion of an operation.
The operation that consists of several steps have partially failed. However the operation cannot be finished as finishing the operation would lead to an inconsistent system.
Example: Attempt do delete a user fails with this exception if deleting of any of the linked accounts fails. The user cannot be deleted as deleting the user would result in an orphan account that may never be deleted.
Constructor and Description |
---|
ConsistencyViolationException()
Deprecated.
|
ConsistencyViolationException(String message)
Deprecated.
|
ConsistencyViolationException(String message,
Throwable cause)
Deprecated.
|
ConsistencyViolationException(Throwable cause)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getOperationResultMessage()
Deprecated.
TOTO: switch return value to a localized message
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ConsistencyViolationException()
public ConsistencyViolationException(String message, Throwable cause)
public ConsistencyViolationException(String message)
public ConsistencyViolationException(Throwable cause)
public String getOperationResultMessage()
CommonException
getOperationResultMessage
in class CommonException
Copyright © 2016 evolveum. All rights reserved.