org.apache.commons.math3.genetics

## Class InvalidRepresentationException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - java.lang.IllegalArgumentException
        - - org.apache.commons.math3.exception.MathIllegalArgumentException
          - - org.apache.commons.math3.genetics.InvalidRepresentationException

- All Implemented Interfaces:
    Serializable, ExceptionContextProvider

      public class InvalidRepresentationException
      extends MathIllegalArgumentException

  Exception indicating that the representation of a chromosome is not valid.
  Since:
    2.0
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `InvalidRepresentationException(Localizable pattern, Object... args)` Construct an InvalidRepresentationException with a specialized message.

  - ### Method Summary

    - ### Methods inherited from class org.apache.commons.math3.exception.MathIllegalArgumentException

      `getContext, getLocalizedMessage, getMessage`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, 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

    - #### InvalidRepresentationException

          public InvalidRepresentationException(Localizable pattern,
                                        Object... args)

      Construct an InvalidRepresentationException with a specialized message.
      Parameters:
        `pattern` - Message pattern.
        `args` - Arguments.

Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.