com.evolveum.midpoint.schema.exception
Class ConsistencyViolationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.evolveum.midpoint.schema.exception.CommonException
com.evolveum.midpoint.schema.exception.ConsistencyViolationException
- All Implemented Interfaces:
- java.io.Serializable
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.
- Author:
- Radovan Semancik
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ConsistencyViolationException
public ConsistencyViolationException()
ConsistencyViolationException
public ConsistencyViolationException(java.lang.String message,
java.lang.Throwable cause)
ConsistencyViolationException
public ConsistencyViolationException(java.lang.String message)
ConsistencyViolationException
public ConsistencyViolationException(java.lang.Throwable cause)
getOperationResultMessage
public java.lang.String getOperationResultMessage()
- Description copied from class:
CommonException
- TOTO: switch return value to a localized message
- Specified by:
getOperationResultMessage
in class CommonException
- Returns:
Copyright © 2011 evolveum. All Rights Reserved.