ExcecaoParametroNaoDeclarado.java 1.0 KB

1234567891011121314151617181920212223242526272829
  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 ExcecaoParametroNaoDeclarado extends Exception {
  12. public ExcecaoParametroNaoDeclarado(String id, int line) {
  13. super("O parametro [" + id + "] não foi declado.Linha[" + line + "]");
  14. }
  15. // public ExcecaoAtribuicaoInvalida(String nome, String escopo, int linha) {
  16. // super("Variavel [" + nome + "] não declada no escopo [" + escopo + "].Linha[" + linha + "]");
  17. // }
  18. //
  19. // public ExcecaoAtribuicaoInvalida(String nome) {
  20. // super("Variavel [" + nome + "] não declada");
  21. // }
  22. // public ExcecaoParametroNaoDeclarado(String tipo, String _tipo, String valor, int line, String escopo) {
  23. // super("Valor atribuido é invalido. Aguardando tipo[" + tipo
  24. // + "], valor atribuido [" + valor + "]:[" + _tipo + "].Linha[" + line + "]Escopo[" + escopo + "]");
  25. // }
  26. }