com.seventytwomiles.architecturerules.exceptions
Class CyclicRedundancyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.seventytwomiles.architecturerules.exceptions.ArchitectureException
com.seventytwomiles.architecturerules.exceptions.CyclicRedundancyException
- All Implemented Interfaces:
- Serializable
public class CyclicRedundancyException
- extends ArchitectureException
Thrown to indicate that a cyclic redundancy was found.
- 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 |
cycles
protected Map<String,Set<String>> cycles
Holds the cycles by package name. The Map key is the full package and
the key is a Set of packages that are involved in the cycle.
CyclicRedundancyException
public CyclicRedundancyException()
- See Also:
RuntimeException.RuntimeException()
CyclicRedundancyException
public CyclicRedundancyException(String message)
- See Also:
RuntimeException.RuntimeException(String)
CyclicRedundancyException
public CyclicRedundancyException(Throwable cause)
- See Also:
RuntimeException.RuntimeException(Throwable)
CyclicRedundancyException
public CyclicRedundancyException(String message,
Throwable cause)
- See Also:
RuntimeException.RuntimeException(String,Throwable)
CyclicRedundancyException
public CyclicRedundancyException(String packageName,
String efferentPackage)
Constructs a new CyclicRedundancyException with a generated message
containing the given packageName and efferentPackage.
- Parameters:
packageName - String the name of the package containing the
cyclic dependencyefferentPackage - String the name of the package the package is
cyclicly involved with.
getCycles
public Map<String,Set<String>> getCycles()
Copyright © 2007-2008. All Rights Reserved.