{
/*
** Make sure we can assign the two classes
*/
TypeCompiler tc = castOperand.getTypeCompiler();
if (! tc.convertible(getTypeId(), forDataTypeFunction))
{
throw StandardException.newException(SQLState.LANG_INVALID_CAST,
sourceCTI.getSQLTypeName(),
getTypeId().getSQLTypeName());
}