kaos.policy.enforcement.obligation
Class ObligationViolationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by kaos.policy.enforcement.obligation.ObligationViolationException
All Implemented Interfaces:
java.io.Serializable

public class ObligationViolationException
extends java.lang.Exception

ObligationViolationException defines an exception to be thrown by the Guard when the Guard evaluates a trigger against applicable obligation policy and determines that some part of obligation has been violated.

See Also:
Serialized Form

Constructor Summary
ObligationViolationException()
          Constructs a new ObligationViolationException with no detailed message.
ObligationViolationException(java.lang.String msg)
          Constructs a new ObligationViolationException with a detailed 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
 

Constructor Detail

ObligationViolationException

public ObligationViolationException()
Constructs a new ObligationViolationException with no detailed message.


ObligationViolationException

public ObligationViolationException(java.lang.String msg)
Constructs a new ObligationViolationException with a detailed message. A detail message is a String that describes the exception.

Parameters:
msg - String containning the detailed message.