com.seventytwomiles.architecturerules.exceptions
Class DependencyConstraintException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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

Constructor Summary
DependencyConstraintException()
           
DependencyConstraintException(java.lang.String message)
           
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.
DependencyConstraintException(java.lang.String message, java.lang.Throwable cause)
           
DependencyConstraintException(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

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 -
packages -
cause -


Copyright © 2007. All Rights Reserved.