org.eclipse.emf.emfstore.internal.client.model.exceptions
Class ChangeConflictException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.eclipse.emf.emfstore.server.exceptions.ESException
              extended by org.eclipse.emf.emfstore.internal.client.model.exceptions.WorkspaceException
                  extended by org.eclipse.emf.emfstore.internal.client.model.exceptions.ChangeConflictException
All Implemented Interfaces:
Serializable

public class ChangeConflictException
extends WorkspaceException

Exception that represents that there are conflicting changes.

Author:
koegel
See Also:
Serialized Form

Constructor Summary
ChangeConflictException(ChangeConflictSet changeConflict)
          Constructor.
ChangeConflictException(String message, ChangeConflictSet conflictSet)
          Constructor.
 
Method Summary
 ChangeConflictSet getChangeConflict()
          Returns the change conflict.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChangeConflictException

public ChangeConflictException(ChangeConflictSet changeConflict)
Constructor.

Parameters:
changeConflict - the ChangeConflictSet leading to the conflict

ChangeConflictException

public ChangeConflictException(String message,
                               ChangeConflictSet conflictSet)
Constructor.

Parameters:
message - a error message
conflictSet - the ESConflictSetImpl leading to the conflict
Method Detail

getChangeConflict

public ChangeConflictSet getChangeConflict()
Returns the change conflict.

Returns:
the change conflict that caused the exception


Copyright © 2015. All Rights Reserved.