Package maissocial.exception

Examples of maissocial.exception.TurmaPisJaCadastradaException


        TurmaPis trp2 = this.trpRep.pesquisarTurmaPisPorCodigo(trp.getCodTurmaPis());
        if(trp2 == null){
            this.trpRep.salvarTurmaPis(trp);
        }else{
            throw new TurmaPisJaCadastradaException("Turma de PIS já cadastrado!");
        }

    }
View Full Code Here


        TurmaPis trp2 = this.trpRep.pesquisarTurmaPisPorCodigo(trp.getCodTurmaPis());
        if(trp2 == null){
            this.trpRep.alterarTurmaPis(trp);
        }else{
            throw new TurmaPisJaCadastradaException("Turma PIS já cadastrado!");
        }
    }
View Full Code Here

TOP

Related Classes of maissocial.exception.TurmaPisJaCadastradaException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.