type != JoinType.INNER_JOIN &&
type != JoinType.LEFT_OUTER_JOIN &&
type != JoinType.RIGHT_OUTER_JOIN &&
type != JoinType.CROSS_JOIN)
{
throw new NucleusException("Unsupported join type specified : " + type);
}
else if (tbl == null)
{
throw new NucleusException("Specification of join must supply the table reference");
}
this.type = type;
this.table = tbl;
this.joinedTable = joinedTbl;