|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.seventytwomiles.architecturerules.exceptions.IllegalArchitectureRuleException
public class IllegalArchitectureRuleException
Exception to be thrown when a Rule is illegal constructed. That is, an illegal violation is created. One example of an illegal violation is when a violation is added to a rule that matches one of the packages that the rule constrins.
<rule id="dao">
<packages>
<package>com.seventytwomiles.pagerank.core.dao</package>
</packages>
<violations>
<violation>com.seventytwomiles.pagerank.core.dao</violation>
</violations>>
</rule>
RuntimeException,
Serialized
Form
| Constructor Summary | |
|---|---|
IllegalArchitectureRuleException()
|
|
IllegalArchitectureRuleException(java.lang.String message)
|
|
IllegalArchitectureRuleException(java.lang.String ruleId,
java.lang.String rulePackages)
Instantiates a new IllegalArchitectureRuleException with the given ruleId and rulePackages. |
|
IllegalArchitectureRuleException(java.lang.String ruleId,
java.lang.String rulePackages,
java.lang.Throwable cause)
Instantiates a new IllegalArchitectureRuleException with the given ruleId and rulePackages, and passes on the cause. |
|
IllegalArchitectureRuleException(java.lang.String message,
java.lang.Throwable cause)
|
|
IllegalArchitectureRuleException(java.lang.Throwable cause)
|
|
| 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 |
|---|
public IllegalArchitectureRuleException()
RuntimeException.RuntimeException()
public IllegalArchitectureRuleException(java.lang.String message)
RuntimeException.RuntimeException(String)
public IllegalArchitectureRuleException(java.lang.Throwable cause)
RuntimeException.RuntimeException(Throwable)
public IllegalArchitectureRuleException(java.lang.String message,
java.lang.Throwable cause)
RuntimeException.RuntimeException(String,Throwable)
public IllegalArchitectureRuleException(java.lang.String ruleId,
java.lang.String rulePackages)
Instantiates a new IllegalArchitectureRuleException with the given ruleId and rulePackages.
ruleId - String id of the Rule
rulePackages - String some description of the
package rules, such as
a delimited list
public IllegalArchitectureRuleException(java.lang.String ruleId,
java.lang.String rulePackages,
java.lang.Throwable cause)
Instantiates a new IllegalArchitectureRuleException with the given ruleId and rulePackages, and passes on the cause.
ruleId - String id of the Rule
rulePackages - String some description of the
package rules, such as
a delimited list
cause - Throwable root cause
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||