12345678910111213141516171819202122232425 |
- /*
- * 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 ExcecaoAtribuicaoInvalidaValor extends Exception {
- // 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 ExcecaoAtribuicaoInvalidaValor(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 + "]");
- }
- }
|