void checkDsubType( int dsubType)
throws HdfException
{
  if (dsubType != HdfGroup.DTYPE_SFIXED08
    && dsubType != HdfGroup.DTYPE_UFIXED08
    && dsubType != HdfGroup.DTYPE_FIXED16
    && dsubType != HdfGroup.DTYPE_FIXED32
    && dsubType != HdfGroup.DTYPE_FIXED64
    && dsubType != HdfGroup.DTYPE_FLOAT32
    && dsubType != HdfGroup.DTYPE_FLOAT64
    && dsubType != HdfGroup.DTYPE_STRING_FIX
    && dsubType != HdfGroup.DTYPE_REFERENCE)
    throwerr("invalid dsubType: " + HdfGroup.dtypeNames[dsubType]);
}