net.sf.qualitytest.exception
Class BlueprintCycleException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.sf.qualitytest.exception.BlueprintCycleException
- All Implemented Interfaces:
- Serializable
public class BlueprintCycleException
- extends RuntimeException
Thrown to indicate a cycle in the graph while blueprinting. As a workaround
you should add a hint on how to blueprint the class using
BlueprintConfiguration.with.
- Author:
- Dominik Seichter
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
BlueprintCycleException
public BlueprintCycleException(Class<?> clazz)
- Constructs a
BlueprintCycleException with the default message
DEFAULT_MESSAGE.
- Parameters:
clazz - The class causing the cycle.
BlueprintCycleException
public BlueprintCycleException(Class<?> clazz,
Throwable cause)
- Constructs a
BlueprintCycleException with a message.
- Parameters:
clazz - The class causing the cycle.cause - the cause (which is saved for later retrieval by the
Throwable.getCause() method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)
Copyright © 2012-2013. All Rights Reserved.