Galera tive que dar um suporte num código que nao é meu! so que na hora de começar a complilar ele me deu erro na função abaixo!
public com.sap.mw.jco.JCO.Function createFunction(String name)
throws Exception
{
IFunctionTemplate ft = mRepository.getFunctionTemplate(name.toUpperCase());
if(ft == null)
return null;
return ft.getFunction();
throw new Exception("Problem retrieving JCO.Function object.");
}
ERRO:
init:
deps-jar:
Compiling 1 source file to \build\classes
RelatorioECC.java:3481: unreachable statement
throw new Exception("Problem retrieving JCO.Function object.");
Note: RelatorioECC.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: RelatorioECC.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
FALHA NA EXECUÇÃO (tempo total: 0 segundos)
Alguem tem uma Luz sobre o assunto?
Protheusx
