package com.capgemini.reports.exceptions;

import com.capgemini.framework.teamcenter.exceptions.KurtException;

/** Exception thrown when the nomenclature is not as expected. */
public class MalformedNomenclatureException extends KurtException {


    private static final long serialVersionUID = -3794378881986432701L;

    /**
     * throw this exception when the nomenclature isn't as axpected (i.e. missing elements like part number below RF Generic, some RF Admins, etc.
     * 
     * @param aMessage a message explaining just how wrong the nomenclature is
     */
    public MalformedNomenclatureException(final String aMessage) {
        super(aMessage);
    }

    /**
     * throw this exception when the nomenclature isn't as axpected (i.e. missing elements like part number below RF Generic, some RF Admins, etc.
     * 
     * @param aMessage a message explaining just how wrong the nomenclature is
     * @param anException the original exception that can be interpreted as a malformed nomenclature exception.
     */

    public MalformedNomenclatureException(final String aMessage, final Throwable anException) {
        super(aMessage, anException);
    }

}
