ExcecaoParametroTipoInvalido.java 837 B

12345678910111213141516171819202122
  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 ExcecaoParametroTipoInvalido extends Exception {
  12. public ExcecaoParametroTipoInvalido(String tipo, String _tipo, int line, String escopo) {
  13. super("O parametro recebido é do [" + _tipo + "] enquanto que o esperado é do tipo[" + tipo + "].Linha[" + line + "]");
  14. }
  15. // public ExcecaoParametroTipoInvalido(String tipo, String _tipo, String valor, int line, String escopo) {
  16. // super("Valor atribuido é invalido. Aguardando tipo[" + tipo
  17. // + "], valor atribuido [" + valor + "]:[" + _tipo + "].Linha[" + line + "]Escopo[" + escopo + "]");
  18. // }
  19. }