*
* @exception SQLException thrown if no trigger active
*/
public TriggerOldTransitionRows() throws SQLException
{
TriggerExecutionContext tec = Factory.getTriggerExecutionContext();
if (tec == null)
{
throw new SQLException("There are no active triggers", "38000");
}
resultSet = tec.getOldRowSet();
if (resultSet == null)
{
throw new SQLException("There is no old transition rows result set for this trigger", "38000");
}