1234567891011121314151617181920212223242526272829 |
- /*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
- package exception;
- /**
- *
- * @author Eugenio
- */
- public class ExcecaoParametroNaoDeclarado extends Exception {
- public ExcecaoParametroNaoDeclarado(String id, int line) {
- super("O parametro [" + id + "] não foi declado.Linha[" + line + "]");
- }
- // public ExcecaoAtribuicaoInvalida(String nome, String escopo, int linha) {
- // super("Variavel [" + nome + "] não declada no escopo [" + escopo + "].Linha[" + linha + "]");
- // }
- //
- // public ExcecaoAtribuicaoInvalida(String nome) {
- // super("Variavel [" + nome + "] não declada");
- // }
- // public ExcecaoParametroNaoDeclarado(String tipo, String _tipo, String valor, int line, String escopo) {
- // super("Valor atribuido é invalido. Aguardando tipo[" + tipo
- // + "], valor atribuido [" + valor + "]:[" + _tipo + "].Linha[" + line + "]Escopo[" + escopo + "]");
- // }
- }
|