ExcecaoFuncaoIncompativelTipo.java 711 B

1234567891011121314151617181920
  1. /*
  2. * To change this license header, choose License Headers in Project Properties.
  3. * To change this template file, choose Tools | Templates
  4. * and open the template in the editor.
  5. */
  6. package exception;
  7. /**
  8. *
  9. * @author Eugenio
  10. */
  11. public class ExcecaoFuncaoIncompativelTipo extends Exception {
  12. public ExcecaoFuncaoIncompativelTipo(String nomeFuncao, String tipo, String _tipo, int linha) {
  13. // super("ERRO:Retorno da função [" + nomeFuncao + "]:[" + _tipo
  14. // + "] não corresponde com o esperado [" + tipo + "].Linha[" + line + "]");
  15. super("ERRO:Linha[" + linha + "]| Valor esperado [" + tipo + "] e o retrono da função [" + nomeFuncao + "]:[" + _tipo + "]");
  16. }
  17. }