|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception kaos.policy.guard.KAoSActionFailureException
public class KAoSActionFailureException
KAoSActionFailureException defines an exception to be thrown by a KAoS agent in case its attempt to perform certain action fails
Field Summary | |
---|---|
ActionInstanceDescription |
failedAction
Decription of the action, which failed |
KAoSSecurityException |
myKAoSSecurityException
Reference to the nested KAoSSecurityException, if present |
KAoSActionFailureException |
nestedKAoSActionFailureException
Reference to the nested KAoSActionFailureException, if present |
java.util.List |
succeededAction
List of subaction descriptions (as Action Instance Description), which were perfomed correctly until the failed action |
Constructor Summary | |
---|---|
KAoSActionFailureException()
Constructs a new KAoSActionFailureException with no detail message. |
|
KAoSActionFailureException(KAoSSecurityException currentKAoSSecurityException,
ActionInstanceDescription currentfailedAction)
Constructs a new KAoSActionFailureException with a detail message. |
|
KAoSActionFailureException(java.lang.String s)
Constructs a new KAoSActionFailureException with a detail message. |
Method Summary | |
---|---|
ActionInstanceDescription |
getFirstFailedAction()
Traverses the nested KAoSActionFailureException(s) and returns the description of the most nested action, which failed |
java.lang.String |
getForbiddingPolicy()
Traverses the nested KAoSActionFailureException(s) and returns the forbidding policy id, if such exists |
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 |
---|
public KAoSSecurityException myKAoSSecurityException
public KAoSActionFailureException nestedKAoSActionFailureException
public ActionInstanceDescription failedAction
public java.util.List succeededAction
Constructor Detail |
---|
public KAoSActionFailureException()
public KAoSActionFailureException(java.lang.String s)
public KAoSActionFailureException(KAoSSecurityException currentKAoSSecurityException, ActionInstanceDescription currentfailedAction)
currentKAoSSecurityException
- - reference to the security exceptioncurrentfailedAction
- - reference to the description of action, which failedMethod Detail |
---|
public java.lang.String getForbiddingPolicy()
public ActionInstanceDescription getFirstFailedAction()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |