public int nextInt() throws WorkloadException {
  throw new WorkloadException("DiscreteGenerator does not support nextInt()");
}

public int nextInt ( ) throws WorkloadException { throw new WorkloadException ( "DiscreteGenerator does not support nextInt()" ) ; }
if the generator returns numeric ( integer ) values , return the next value as an int . default is to return - 1 , which is appropriate for generators that do not return numeric values .
