com.evolveum.midpoint.provisioning.consistency.api
Class ErrorHandler

java.lang.Object
  extended by com.evolveum.midpoint.provisioning.consistency.api.ErrorHandler
Direct Known Subclasses:
CommunicationExceptionHandler, ConfigurationExceptionHandler, GenericErrorHandler, ObjectAlreadyExistHandler, ObjectNotFoundHandler, SchemaExceptionHandler, SecurityViolationHandler

public abstract class ErrorHandler
extends java.lang.Object


Nested Class Summary
static class ErrorHandler.FailedOperation
           
 
Constructor Summary
ErrorHandler()
           
 
Method Summary
protected
<T extends ResourceObjectShadowType>
java.util.Collection<ItemDelta>
createAttemptModification(T shadow, java.util.Collection<ItemDelta> modifications)
           
protected  java.lang.Integer getAttemptNumber(ResourceObjectShadowType shadow)
           
abstract
<T extends ResourceObjectShadowType>
T
handleError(T shadow, ErrorHandler.FailedOperation op, java.lang.Exception ex, OperationResult parentResult)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorHandler

public ErrorHandler()
Method Detail

handleError

public abstract <T extends ResourceObjectShadowType> T handleError(T shadow,
                                                                   ErrorHandler.FailedOperation op,
                                                                   java.lang.Exception ex,
                                                                   OperationResult parentResult)
                                                        throws SchemaException,
                                                               GenericFrameworkException,
                                                               CommunicationException,
                                                               ObjectNotFoundException,
                                                               ObjectAlreadyExistsException,
                                                               ConfigurationException,
                                                               SecurityViolationException
Throws:
SchemaException
GenericFrameworkException
CommunicationException
ObjectNotFoundException
ObjectAlreadyExistsException
ConfigurationException
SecurityViolationException

createAttemptModification

protected <T extends ResourceObjectShadowType> java.util.Collection<ItemDelta> createAttemptModification(T shadow,
                                                                                                         java.util.Collection<ItemDelta> modifications)

getAttemptNumber

protected java.lang.Integer getAttemptNumber(ResourceObjectShadowType shadow)


Copyright © 2012 evolveum. All Rights Reserved.