com.seventytwomiles.architecturerules.exceptions
Class DependencyConstraintException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.seventytwomiles.architecturerules.exceptions.ArchitectureException
com.seventytwomiles.architecturerules.exceptions.DependencyConstraintException
- All Implemented Interfaces:
- Serializable
public class DependencyConstraintException
- extends ArchitectureException
Exception to be thrown when any Rule fails, that is to say,
the rule is violoated.
- Author:
- mikenereson
- See Also:
ArchitectureException,
Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
DependencyConstraintException
public DependencyConstraintException()
- See Also:
RuntimeException.RuntimeException()
DependencyConstraintException
public DependencyConstraintException(String message)
- See Also:
RuntimeException.RuntimeException(String)
DependencyConstraintException
public DependencyConstraintException(Throwable cause)
- See Also:
RuntimeException.RuntimeException(Throwable)
DependencyConstraintException
public DependencyConstraintException(String message,
Throwable cause)
- See Also:
RuntimeException.RuntimeException(String,Throwable)
DependencyConstraintException
public DependencyConstraintException(String ruleId,
String packages,
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
Rulecause - Throwable any exception that was thrown
Copyright © 2007-2008. All Rights Reserved.