List of usage examples for org.apache.commons.cli AlreadySelectedException AlreadySelectedException
public AlreadySelectedException(String message)
AlreadySelectedException
with the specified detail message. From source file:com.examples.with.different.packagename.DependencyLibrary.java
public void foo() { //here, at compile time we use the one in EvoSuite dependency, but not at runtime AlreadySelectedException e = new AlreadySelectedException(null); if (e.toString().equals("foo")) { System.out.println("Only executed if SUT version is used, and not the one in EvoSuite's dependencies"); }//from w ww . j ava2s . c o m }