Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.uci.ics.jung.algorithms.cluster
Class KMeansClusterer.NotEnoughClustersException

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              java.lang.RuntimeException
                  edu.uci.ics.jung.algorithms.cluster.KMeansClusterer.NotEnoughClustersException

All Implemented Interfaces:
  Serializable

Enclosing class:
  KMeansClusterer

public static class KMeansClusterer.NotEnoughClustersException
extends RuntimeException

An exception that indicates that the specified data points cannot be clustered into the number of clusters requested by the user. This will happen if and only if there are fewer distinct points than requested clusters. (If there are fewer total data points than requested clusters, `IllegalArgumentException` will be thrown.)

Author:
  Joshua O'Madadhain
See Also:
  Serialized Form

Constructor Summary
`KMeansClusterer.NotEnoughClustersException()`

Method Summary
`String` | `getMessage()`

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

### KMeansClusterer.NotEnoughClustersException

    public KMeansClusterer.NotEnoughClustersException()

Method Detail

### getMessage

    public String getMessage()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD