kaos.policy.deconfliction
Class PoliciesHarmonizedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by kaos.policy.deconfliction.PoliciesHarmonizedException
All Implemented Interfaces:
java.io.Serializable

public class PoliciesHarmonizedException
extends java.lang.Exception

PoliciesHarmonizedException defines an exception to be thrown by the PolicyHandler class when harmonization of the newly introduced policies occures.

See Also:
Serialized Form

Field Summary
 java.util.Map mappingFromIntroducedPoliciesToHarmonization
          Maps the ids of the policies from the committed set to the Map containing information of harmonization this policy caused.
 
Constructor Summary
PoliciesHarmonizedException()
          Constructs a new PoliciesHarmonizedException with no detail message.
PoliciesHarmonizedException(java.util.Map _mappingFromIntroducedPoliciesToHarmonization)
          Constructs a new PoliciesHarmonizedException with a harmonization information.
PoliciesHarmonizedException(java.lang.String s)
          Constructs a new PoliciesHarmonizedException with a detail message.
 
Method Summary
 
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
 

Field Detail

mappingFromIntroducedPoliciesToHarmonization

public java.util.Map mappingFromIntroducedPoliciesToHarmonization
Maps the ids of the policies from the committed set to the Map containing information of harmonization this policy caused. This second map contains a mapping between the ids of the policies which were harmonized and vectors of ids of policies which replace the harmonized policy.

Constructor Detail

PoliciesHarmonizedException

public PoliciesHarmonizedException()
Constructs a new PoliciesHarmonizedException with no detail message.


PoliciesHarmonizedException

public PoliciesHarmonizedException(java.lang.String s)
Constructs a new PoliciesHarmonizedException with a detail message. A detail message is a String that describes the exception.


PoliciesHarmonizedException

public PoliciesHarmonizedException(java.util.Map _mappingFromIntroducedPoliciesToHarmonization)
Constructs a new PoliciesHarmonizedException with a harmonization information.