com.google.common.collect.testing.features
Class ConflictingRequirementsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.google.common.collect.testing.features.ConflictingRequirementsException
All Implemented Interfaces:
Serializable

public class ConflictingRequirementsException
extends Exception

Thrown when requirements on a tester method or class conflict with each other.

This class is GWT compatible.

Author:
George van den Driessche
See Also:
Serialized Form

Constructor Summary
ConflictingRequirementsException(String message, Set<Feature<?>> conflicts, Object source)
           
 
Method Summary
 Set<Feature<?>> getConflicts()
           
 String getMessage()
           
 Object getSource()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

ConflictingRequirementsException

public ConflictingRequirementsException(String message,
                                        Set<Feature<?>> conflicts,
                                        Object source)
Method Detail

getConflicts

public Set<Feature<?>> getConflicts()

getSource

public Object getSource()

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable


Copyright © 2010-2011. All Rights Reserved.