Class ConflictingRequirementsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.google.common.collect.testing.features.ConflictingRequirementsException
-
- All Implemented Interfaces:
Serializable
@GwtCompatible public class ConflictingRequirementsException extends Exception
Thrown when requirements on a tester method or class conflict with each other.- Author:
- George van den Driessche
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConflictingRequirementsException(String message, Set<Feature<?>> conflicts, Object source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Feature<?>>
getConflicts()
String
getMessage()
Object
getSource()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ConflictingRequirementsException
public ConflictingRequirementsException(String message, Set<Feature<?>> conflicts, Object source)
-
-
Method Detail
-
getConflicts
public Set<Feature<?>> getConflicts()
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
-