class FileTypeServiceImpl implements FileTypeService {

    void validateAndTrimFileTypeKey(FileTypeKey fileTypeKey) throws IllegalArgumentException
    {
        Assert.notNull(fileTypeKey, "A file type key must be specified.");
        fileTypeKey.setFileTypeCode(alternateKeyHelper.validateStringParameter("file type code", fileTypeKey.getFileTypeCode()));
    }

}