check added to only throw if called with wrong ObjectType - this enables to call new() without parameters
check added to only throw if called with wrong ObjectType - this enables to
call new() without parameters

Ensembl/ensembl-pipeline,Ensembl/ensembl-pipeline,Ensembl/ensembl-pipeline