'Validate the given adapter type in extra_spec.
This method throws an instance of InvalidAdapterTypeException if the
given adapter type is invalid.
:param extra_spec_adapter_type: adapter type in extra_spec
:raises: InvalidAdapterTypeException'

@staticmethod
def validate(extra_spec_adapter_type):

    if (not VirtualDiskAdapterType.is_valid(extra_spec_adapter_type)):
        raise vmdk_exceptions.InvalidAdapterTypeException(invalid_type=extra_spec_adapter_type)
