com.seventytwomiles.architecturerules.exceptions
Class DependencyConstraintException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.seventytwomiles.architecturerules.exceptions.DependencyConstraintException
- All Implemented Interfaces:
- java.io.Serializable
-
public class DependencyConstraintException
- extends
java.lang.RuntimeException
Exception to be thrown when any Rule fails, that is to say,
the rule is violoated.
- Author:
- mikenereson
- See Also:
RuntimeException,
Serialized
Form
| 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 |
DependencyConstraintException
public DependencyConstraintException()
- See Also:
RuntimeException.RuntimeException()
DependencyConstraintException
public DependencyConstraintException(java.lang.String message)
- See Also:
RuntimeException.RuntimeException(String)
DependencyConstraintException
public DependencyConstraintException(java.lang.Throwable cause)
- See Also:
RuntimeException.RuntimeException(Throwable)
DependencyConstraintException
public DependencyConstraintException(java.lang.String message,
java.lang.Throwable cause)
- See Also:
RuntimeException.RuntimeException(String,Throwable)
DependencyConstraintException
public DependencyConstraintException(java.lang.String ruleId,
java.lang.String packages,
java.lang.Throwable cause)
Reports which Rule was broken, by its id, and
what packages that Rule governs.
- Parameters:
ruleId - String id of the Rule that
was violated.
packages - String listing each package constrained
by the violated
Rule
cause - Throwable any exception that was thrown
Copyright © 2008. All Rights Reserved.