Class AdviceConstraintViolationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.aspectran.core.activity.ActivityException
-
- com.aspectran.core.activity.aspect.AdviceConstraintViolationException
-
- All Implemented Interfaces:
java.io.Serializable
public class AdviceConstraintViolationException extends ActivityException
Exception thrown when an Advice Constraint Violation occurs.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AdviceConstraintViolationException()
-
Method Summary
Modifier and Type Method Description java.lang.String
addViolation(AspectRule aspectRule, java.lang.String msg)
java.lang.String
getMessage()
java.util.Set<AspectRule>
getRelevantAspectRules()
-
-
-
Method Detail
-
addViolation
public java.lang.String addViolation(AspectRule aspectRule, java.lang.String msg)
-
getRelevantAspectRules
public java.util.Set<AspectRule> getRelevantAspectRules()
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in classjava.lang.Throwable
-
-