BaseTool: Error handling for PCD datumtype.