    001    /*
    002     * Licensed to the Apache Software Foundation (ASF) under one or more
    003     * contributor license agreements.  See the NOTICE file distributed with
    004     * this work for additional information regarding copyright ownership.
    005     * The ASF licenses this file to You under the Apache License, Version 2.0
    006     * (the "License"); you may not use this file except in compliance with
    007     * the License.  You may obtain a copy of the License at
    008     *
    009     *      http://www.apache.org/licenses/LICENSE-2.0
    010     *
    011     * Unless required by applicable law or agreed to in writing, software
    012     * distributed under the License is distributed on an "AS IS" BASIS,
    013     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    014     * See the License for the specific language governing permissions and
    015     * limitations under the License.
    016     */
    017    package org.apache.commons.math.genetics;
    018
    019    /**
    020     * Exception indicating that the representation of a chromosome is not valid.
    021     *
    022     * @version $Revision: 811685 $ $Date: 2009-09-05 19:36:48 +0200 (sam. 05 sept. 2009) $
    023     * @since 2.0
    024     */
    025    public class InvalidRepresentationException extends Exception {
    026
    027        /** Serialization version id */
    028        private static final long serialVersionUID = 1L;
    029
    030        /**
    031         * Constructor
    032         */
    033        public InvalidRepresentationException() {
    034            super();
    035        }
    036
    037        /**
    038         * Construct an InvalidRepresentationException
    039         * @param arg0 exception message
    040         */
    041        public InvalidRepresentationException(String arg0) {
    042            super(arg0);
    043        }
    044
    045        /**
    046         * Construct an InvalidRepresentationException
    047         * @param arg0 cause
    048         */
    049        public InvalidRepresentationException(Throwable arg0) {
    050            super(arg0);
    051        }
    052
    053        /**
    054         * Construct an InvalidRepresentationException
    055         *
    056         * @param arg0 exception message
    057         * @param arg1 cause
    058         */
    059        public InvalidRepresentationException(String arg0, Throwable arg1) {
    060            super(arg0, arg1);
    061        }
    062
    063    }