Duvida referente exception conforme codigo abaixo
após o return tem exception1;
ele está chamando uma exception pois só utilizo através
throw ?
quem puder me ajudar agradeceria …
abs
ai2 = ai1;
oraclepreparedstatement;
JVM INSTR monitorexit ;
oracleconnection;
JVM INSTR monitorexit ;
return ai2;
exception1;
throw exception1;
exception2;
throw exception2;
public int[] executeBatch()
throws SQLException
{
label0:
{
int ai[];
synchronized(connection)
{
synchronized(this)
{
boolean flag = false;
setJdbcBatchStyle();
if(m_currentRank != 0)
break label0;
ai = new int[0];
}
}
return ai;
}
int ai2[];
int ai1[] = new int[m_currentRank];
open();
ensureOpen();
prepare_for_new_result(true);
if(sql_string_changed)
parseSqlKind();
if(sql_kind == 0)
DBError.throwBatchUpdateException(80, 0, null);
try
{
need_to_parse = true;
doExecuteOther(true);
}
catch(SQLException sqlexception)
{
for(int i = 0; i < ai1.length; i++)
ai1[i] = -3;
DBError.throwBatchUpdateException(sqlexception, ai1.length, ai1);
}
finally
{
cleanupForBatching();
}
if(valid_rows < 0)
{
for(int j = 0; j < ai1.length; j++)
ai1[j] = -3;
DBError.throwBatchUpdateException(81, 0, ai1);
}
for(int k = 0; k < ai1.length; k++)
ai1[k] = -2;
ai2 = ai1;
oraclepreparedstatement;
JVM INSTR monitorexit ;
oracleconnection;
JVM INSTR monitorexit ;
return ai2;
exception1;
throw exception1;
exception2;
throw exception2;
}